]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Removed null statement within variable declarations breaking compilations with gcc...
authorPontus Freyhult <pont@soua.net>
Mon, 21 Oct 2002 20:56:00 +0000 (22:56 +0200)
committerPontus Freyhult <pont@soua.net>
Mon, 21 Oct 2002 20:56:00 +0000 (22:56 +0200)
Rev: src/nettle/ChangeLog:1.129
Rev: src/nettle/base64-encode.c:1.2

ChangeLog
base64-encode.c

index dac2e90fb7b0c951e1dddc6da47325f9b66b84e2..441ea636f72059ae168a2a53a56b43ee4cd5bd2b 100644 (file)
--- 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.
index 13b625268e5273171d3b854f771b5f7391cd05b1..02aa14a655039c3b21a3cbcaa32b72d6fccaffaf 100644 (file)
@@ -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;