Commit 071f93c8 authored by Niels Möller's avatar Niels Möller

Fix argument signedness for encode_raw.

parent 4ebc67a7
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment