Commit ce50686f authored by Pontus Freyhult's avatar Pontus Freyhult

Removed null statement within variable declarations breaking compilations with gcc-2.95

Rev: src/nettle/ChangeLog:1.129
Rev: src/nettle/base64-encode.c:1.2
parent 2f666278
2002-10-21 Pontus Skld <pont@soua.net>
* base64-encode.c (base64_encode_raw): Fixed null statement
amongst variable declarations, broke compilation for non C99
compilers.
2002-10-21 Niels Mller <nisse@lysator.liu.se>
* examples/sexp-conv.c: New sexp conversion program.
......
......@@ -38,7 +38,7 @@ static const uint8_t encode_table[64] =
void
base64_encode_raw(uint8_t *dst, unsigned length, const uint8_t *src)
{
const uint8_t *in = src + length;;
const uint8_t *in = src + length;
uint8_t *out = dst + BASE64_ENCODE_RAW_LENGTH(length);
unsigned left_over = length % 3;
......
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