Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
efac4e8f
Commit
efac4e8f
authored
Sep 03, 2016
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix signedness warning for rsa-encrypt-test.
parent
abe959a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ChangeLog
ChangeLog
+5
-0
testsuite/rsa-encrypt-test.c
testsuite/rsa-encrypt-test.c
+2
-3
No files found.
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
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