Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
071f93c8
Commit
071f93c8
authored
Jan 10, 2016
by
Niels Möller
Browse files
Fix argument signedness for encode_raw.
parent
4ebc67a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
071f93c8
2016-01-10 Niels Möller <nisse@lysator.liu.se>
* base64-encode.c (encode_raw): Use const uint8_t * for the
alphabet argument.
* nettle.texinfo (RSA): Document the rsa_pkcs1_verify and
rsa_pkcs1_sign functions, and the new rsa_*_tr functions.
...
...
base64-encode.c
View file @
071f93c8
...
...
@@ -41,7 +41,7 @@
#define ENCODE(alphabet,x) ((alphabet)[0x3F & (x)])
static
void
encode_raw
(
const
char
*
alphabet
,
encode_raw
(
const
uint8_t
*
alphabet
,
uint8_t
*
dst
,
size_t
length
,
const
uint8_t
*
src
)
{
const
uint8_t
*
in
=
src
+
length
;
...
...
Write
Preview
Supports
Markdown
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