From ce50686f85936e3703357af7ea1b2e0c55cca6fc Mon Sep 17 00:00:00 2001 From: Pontus Freyhult <pont@soua.net> Date: Mon, 21 Oct 2002 22:56:00 +0200 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ base64-encode.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dac2e90f..441ea636 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-10-21 Pontus Sköld <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 Möller <nisse@lysator.liu.se> * 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; -- GitLab