]> andersk Git - openssh.git/blobdiff - deattack.c
- (bal) Sync with OpenBSD:
[openssh.git] / deattack.c
index 74a46c0e7b8099251d94d511797d4d250c5af1ec..df1d2240993f718baa1918b3347d84027a53c08f 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: deattack.c,v 1.9 2000/09/07 20:27:51 deraadt Exp $    */
+/*     $OpenBSD: deattack.c,v 1.10 2000/10/31 13:18:53 markus Exp $    */
 
 /*
  * Cryptographic attack detector for ssh - source code
@@ -85,7 +85,7 @@ int
 detect_attack(unsigned char *buf, u_int32_t len, unsigned char *IV)
 {
        static u_int16_t *h = (u_int16_t *) NULL;
-       static u_int16_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
+       static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
        register u_int32_t i, j;
        u_int32_t l;
        register unsigned char *c;
This page took 0.336915 seconds and 4 git commands to generate.