summaryrefslogtreecommitdiff
path: root/security/ssh/patches/patch-ca
blob: df9c9be9e71613a3ecccbf80a6fe6b513d1f80ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ca,v 1.2 2001/02/16 13:06:41 dmcmahill 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;