ports/security/ssh/files/patch-az
Kris Kennaway d6bcba7837 Commit fixes for the two recent security problems found by BINDVIEW
and Core-SDI, and bump PORTREVISION.
2001-02-09 22:56:39 +00:00

13 lines
397 B
Plaintext

--- deattack.c-old Wed Feb 7 19:45:16 2001
+++ deattack.c Wed Feb 7 19:54:11 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;