Skip to content
Snippets Groups Projects
Commit ce50686f authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

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
No related branches found
No related tags found
Loading
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> 2002-10-21 Niels Mller <nisse@lysator.liu.se>
* examples/sexp-conv.c: New sexp conversion program. * examples/sexp-conv.c: New sexp conversion program.
......
...@@ -38,7 +38,7 @@ static const uint8_t encode_table[64] = ...@@ -38,7 +38,7 @@ static const uint8_t encode_table[64] =
void void
base64_encode_raw(uint8_t *dst, unsigned length, const uint8_t *src) 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); uint8_t *out = dst + BASE64_ENCODE_RAW_LENGTH(length);
unsigned left_over = length % 3; unsigned left_over = length % 3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment