b4ca092a9e
* redo patches with update-patches
16 lines
585 B
Plaintext
16 lines
585 B
Plaintext
$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;
|
|
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 */
|