LIBGCRYPT-1-2-BRANCH libgcrypt/cipher (ChangeLog serpent.c)

cvs user wk cvs at cvs.gnupg.org
Thu Dec 9 17:56:00 CET 2004


    Date: Thursday, December 9, 2004 @ 18:04:17
  Author: wk
    Path: /cvs/libgcrypt/libgcrypt/cipher
     Tag: LIBGCRYPT-1-2-BRANCH

Modified: ChangeLog serpent.c

(serpent_test): Moved prototype out of a fucntion.


-----------+
 ChangeLog |    4 ++++
 serpent.c |    7 +++++--
 2 files changed, 9 insertions(+), 2 deletions(-)


Index: libgcrypt/cipher/ChangeLog
diff -u libgcrypt/cipher/ChangeLog:1.211.2.6 libgcrypt/cipher/ChangeLog:1.211.2.7
--- libgcrypt/cipher/ChangeLog:1.211.2.6	Wed Sep 15 20:46:34 2004
+++ libgcrypt/cipher/ChangeLog	Thu Dec  9 18:04:16 2004
@@ -1,3 +1,7 @@
+2004-12-09  Werner Koch  <wk at g10code.com>
+
+	* serpent.c (serpent_test): Moved prototype out of a fucntion.
+
 2004-09-17  Moritz Schulte  <moritz at g10code.com>
 
 	* serpent.c: Use "u32_t" instead of "unsigned long", do not
Index: libgcrypt/cipher/serpent.c
diff -u libgcrypt/cipher/serpent.c:1.4.2.1 libgcrypt/cipher/serpent.c:1.4.2.2
--- libgcrypt/cipher/serpent.c:1.4.2.1	Wed Sep 15 20:46:34 2004
+++ libgcrypt/cipher/serpent.c	Thu Dec  9 18:04:16 2004
@@ -55,6 +55,11 @@
   serpent_subkeys_t keys;	/* Generated subkeys.  */
 } serpent_context_t;
 
+
+/* A prototype.  */
+static const char *serpent_test (void);
+      
+
 #define byte_swap_32(x) \
   (0 \
    | (((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >>  8) \
@@ -687,8 +692,6 @@
   if (! serpent_init_done)
     {
       /* Execute a self-test the first time, Serpent is used.  */
-      static const char *serpent_test (void);
-      
       serpent_test_ret = serpent_test ();
       if (serpent_test_ret)
 	log_error ("Serpent test failure: %s\n", serpent_test_ret);




More information about the Gnupg-commits mailing list