2002-10-29 Daniel Jacobowitz <drow@mvista.com>
authorroland <roland>
Sun, 3 Nov 2002 00:58:59 +0000 (00:58 +0000)
committerroland <roland>
Sun, 3 Nov 2002 00:58:59 +0000 (00:58 +0000)
* crypt/crypt_util.c (__init_des_r): Initialize current_salt
and current_saltbits.

crypt/crypt_util.c

index ae6174e..5467a97 100644 (file)
@@ -536,6 +536,9 @@ small_tables_done:
     }
   }
 
+  __data->current_saltbits = 0;
+  __data->current_salt[0] = 0;
+  __data->current_salt[1] = 0;
   __data->initialized++;
 }