pkgsrc/security/ssh/patches/patch-ca
2001-02-16 13:06:41 +00:00

13 lines
458 B
Text

$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;