summaryrefslogtreecommitdiff
path: root/security/ssh6/patches/patch-ca
blob: b865b7387dd8e8e2c916d68af943f0567c3d0acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ca,v 1.1 2001/02/13 12:29:06 is Exp $

--- deattack.c.orig	Wed May 12 13:19:25 1999
+++ deattack.c	Tue Feb 13 11:23:07 2001
@@ -79,7 +79,7 @@
 detect_attack(unsigned char *buf, word32 len, unsigned char *IV)
 {
   static word16  *h = (word16 *) NULL;
-  static word16   n = HASH_MINSIZE / HASH_ENTRYSIZE;
+  static word32   n = HASH_MINSIZE / HASH_ENTRYSIZE;
   register word32 i, j;
   word32          l;
   register unsigned char *c;