From: Pontus Freyhult Date: Mon, 21 Oct 2002 20:56:00 +0000 (+0200) Subject: Removed null statement within variable declarations breaking compilations with gcc... X-Git-Tag: nettle_1.7_release_20030311~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce50686f85936e3703357af7ea1b2e0c55cca6fc;p=thirdparty%2Fnettle.git 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 --- diff --git a/ChangeLog b/ChangeLog index dac2e90f..441ea636 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-10-21 Pontus Sköld + + * base64-encode.c (base64_encode_raw): Fixed null statement + amongst variable declarations, broke compilation for non C99 + compilers. + 2002-10-21 Niels Möller * examples/sexp-conv.c: New sexp conversion program. diff --git a/base64-encode.c b/base64-encode.c index 13b62526..02aa14a6 100644 --- a/base64-encode.c +++ b/base64-encode.c @@ -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;