summaryrefslogtreecommitdiff
path: root/deattack.c
diff options
context:
space:
mode:
Diffstat (limited to 'deattack.c')
-rw-r--r--deattack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/deattack.c b/deattack.c
index 1a89be4b8..44220491d 100644
--- a/deattack.c
+++ b/deattack.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: deattack.c,v 1.14 2001/06/23 15:12:18 itojun Exp $ */ 1/* $OpenBSD: deattack.c,v 1.15 2001/11/19 19:02:16 mpech Exp $ */
2 2
3/* 3/*
4 * Cryptographic attack detector for ssh - source code 4 * Cryptographic attack detector for ssh - source code
@@ -85,9 +85,9 @@ detect_attack(u_char *buf, u_int32_t len, u_char *IV)
85{ 85{
86 static u_int16_t *h = (u_int16_t *) NULL; 86 static u_int16_t *h = (u_int16_t *) NULL;
87 static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE; 87 static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
88 register u_int32_t i, j; 88 u_int32_t i, j;
89 u_int32_t l; 89 u_int32_t l;
90 register u_char *c; 90 u_char *c;
91 u_char *d; 91 u_char *d;
92 92
93 if (len > (SSH_MAXBLOCKS * SSH_BLOCKSIZE) || 93 if (len > (SSH_MAXBLOCKS * SSH_BLOCKSIZE) ||