]> andersk Git - openssh.git/blobdiff - deattack.c
- itojun@cvs.openbsd.org 2001/06/23 15:12:20
[openssh.git] / deattack.c
index 36023e0d3371dd5e541f76c510f91195a6d55e2a..1a89be4b803887d318f5146926bad92ef7c65ce3 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: deattack.c,v 1.13 2001/03/01 02:45:10 deraadt Exp $   */
+/*     $OpenBSD: deattack.c,v 1.14 2001/06/23 15:12:18 itojun Exp $    */
 
 /*
  * Cryptographic attack detector for ssh - source code
@@ -46,8 +46,7 @@
 
 #define CMP(a, b)      (memcmp(a, b, SSH_BLOCKSIZE))
 
-
-void
+static void
 crc_update(u_int32_t *a, u_int32_t b)
 {
        b ^= *a;
@@ -55,7 +54,7 @@ crc_update(u_int32_t *a, u_int32_t b)
 }
 
 /* detect if a block is used in a particular pattern */
-int
+static int
 check_crc(u_char *S, u_char *buf, u_int32_t len,
          u_char *IV)
 {
This page took 0.078057 seconds and 4 git commands to generate.