summaryrefslogtreecommitdiff
path: root/deattack.c
diff options
context:
space:
mode:
Diffstat (limited to 'deattack.c')
-rw-r--r--deattack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deattack.c b/deattack.c
index 74a46c0e7..df1d22409 100644
--- a/deattack.c
+++ b/deattack.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: deattack.c,v 1.9 2000/09/07 20:27:51 deraadt Exp $ */ 1/* $OpenBSD: deattack.c,v 1.10 2000/10/31 13:18:53 markus Exp $ */
2 2
3/* 3/*
4 * Cryptographic attack detector for ssh - source code 4 * Cryptographic attack detector for ssh - source code
@@ -85,7 +85,7 @@ int
85detect_attack(unsigned char *buf, u_int32_t len, unsigned char *IV) 85detect_attack(unsigned char *buf, u_int32_t len, unsigned char *IV)
86{ 86{
87 static u_int16_t *h = (u_int16_t *) NULL; 87 static u_int16_t *h = (u_int16_t *) NULL;
88 static u_int16_t n = HASH_MINSIZE / HASH_ENTRYSIZE; 88 static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
89 register u_int32_t i, j; 89 register u_int32_t i, j;
90 u_int32_t l; 90 u_int32_t l;
91 register unsigned char *c; 91 register unsigned char *c;