2001-03-17 10:46:36 -05:00
|
|
|
$OpenBSD: patch-cfs_des_c,v 1.1 2001/03/17 15:46:39 wilfried Exp $
|
|
|
|
--- cfs_des.c.orig Wed Mar 20 18:57:56 1996
|
|
|
|
+++ cfs_des.c Fri Mar 16 20:23:02 2001
|
|
|
|
@@ -140,7 +140,10 @@ int decrypting;
|
1999-10-31 18:31:04 -05:00
|
|
|
register key_offset;
|
|
|
|
int j,k;
|
|
|
|
static int lk= -1;
|
|
|
|
- static char lastkey[4][8]={"xxxxxxx","xxxxxxx","xxxxxxx","xxxxxxx"};
|
|
|
|
+ static char lastkey[4][8]={
|
|
|
|
+ {'x','x','x','x','x','x','x'}, {'x','x','x','x','x','x','x'},
|
|
|
|
+ {'x','x','x','x','x','x','x'}, {'x','x','x','x','x','x','x'}
|
|
|
|
+ };
|
|
|
|
static char expanded_key[4][128];
|
|
|
|
|
|
|
|
/* now caches 4 session keys. drops least recently added */
|