Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
efac4e8f
Commit
efac4e8f
authored
Sep 03, 2016
by
Niels Möller
Browse files
Fix signedness warning for rsa-encrypt-test.
parent
abe959a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
efac4e8f
2016-09-03 Niels Möller <nisse@lysator.liu.se>
* testsuite/rsa-encrypt-test.c (test_main): Fix pointer
signednesss warning.
2016-08-29 Niels Möller <nisse@lysator.liu.se>
* sexp-format.c (strlen_u8): New helper function.
...
...
testsuite/rsa-encrypt-test.c
View file @
efac4e8f
...
...
@@ -11,8 +11,8 @@ test_main(void)
struct
knuth_lfib_ctx
lfib
;
/* FIXME: How is this spelled? */
const
u
int8_t
*
msg
=
"Squemish ossifrage"
;
size_t
msg_length
;
const
u
nsigned
char
msg
[]
=
"Squemish ossifrage"
;
size_t
msg_length
=
LLENGTH
(
msg
)
;
uint8_t
*
decrypted
;
size_t
decrypted_length
;
...
...
@@ -27,7 +27,6 @@ test_main(void)
knuth_lfib_init
(
&
lfib
,
17
);
test_rsa_set_key_1
(
&
pub
,
&
key
);
msg_length
=
strlen
(
msg
);
if
(
verbose
)
fprintf
(
stderr
,
"msg: `%s', length = %d
\n
"
,
msg
,
(
int
)
msg_length
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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