* cipher.c (setup_cipher_table): Don't overwrite the DES entry
authorWerner Koch <wk@gnupg.org>
Sat, 17 Aug 2002 09:15:54 +0000 (09:15 +0000)
committerWerner Koch <wk@gnupg.org>
Sat, 17 Aug 2002 09:15:54 +0000 (09:15 +0000)
with the entry for DUMMY.

cipher/ChangeLog
cipher/cipher.c

index 30376ec..86a7427 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-17  Werner Koch  <wk@gnupg.org>
+
+       * cipher.c (setup_cipher_table): Don't overwrite the DES entry
+       with the entry for DUMMY.
+
 2002-08-14  Werner Koch  <wk@gnupg.org>
 
        * des.c (do_des_setkey,do_des_encrypt, do_des_decrypt): New.
index 750fb7e..b688aed 100644 (file)
@@ -229,6 +229,7 @@ setup_cipher_table(void)
                                         &cipher_table[i].decrypt     );
     if( !cipher_table[i].name )
        BUG();
+    i++;
 
     cipher_table[i].algo = CIPHER_ALGO_DUMMY;
     cipher_table[i].name = "DUMMY";