Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
b5931524
Commit
b5931524
authored
Dec 20, 2012
by
Tim Ruehsen
Committed by
Niels Möller
Dec 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings in the testsuite.
parent
fad85c4e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
ChangeLog
ChangeLog
+8
-0
testsuite/des-compat-test.c
testsuite/des-compat-test.c
+2
-3
testsuite/testutils.c
testsuite/testutils.c
+1
-1
No files found.
ChangeLog
View file @
b5931524
2012-12-20 Niels Möller <nisse@lysator.liu.se>
From Tim Rühsen:
* testsuite/des-compat-test.c (pt): Use proper prototype, use
const.
* testsuite/testutils.c (test_dsa_key): Deleted spurious
semicolon.
2012-12-15 Niels Möller <nisse@lysator.liu.se>
From Alon Bar-Lev:
...
...
testsuite/des-compat-test.c
View file @
b5931524
...
...
@@ -744,14 +744,13 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]);
ASSERT
(
err
==
0
);
}
static
char
*
pt
(
p
)
const
unsigned
char
*
p
;
static
char
*
pt
(
const
unsigned
char
*
p
)
{
static
char
bufs
[
10
][
20
];
static
int
bnum
=
0
;
char
*
ret
;
int
i
;
static
char
*
f
=
"0123456789ABCDEF"
;
static
const
char
*
f
=
"0123456789ABCDEF"
;
ret
=
&
(
bufs
[
bnum
++
][
0
]);
bnum
%=
10
;
...
...
testsuite/testutils.c
View file @
b5931524
...
...
@@ -1084,7 +1084,7 @@ test_dsa_key(struct dsa_public_key *pub,
ASSERT
(
0
==
mpz_cmp
(
t
,
pub
->
y
));
mpz_clear
(
t
);
}
;
}
#endif
/* WITH_HOGWEED */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment