diff options
Diffstat (limited to 'deattack.c')
-rw-r--r-- | deattack.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/deattack.c b/deattack.c index 36023e0d3..1a89be4b8 100644 --- a/deattack.c +++ b/deattack.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: deattack.c,v 1.13 2001/03/01 02:45:10 deraadt Exp $ */ | 1 | /* $OpenBSD: deattack.c,v 1.14 2001/06/23 15:12:18 itojun Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Cryptographic attack detector for ssh - source code | 4 | * Cryptographic attack detector for ssh - source code |
@@ -46,8 +46,7 @@ | |||
46 | 46 | ||
47 | #define CMP(a, b) (memcmp(a, b, SSH_BLOCKSIZE)) | 47 | #define CMP(a, b) (memcmp(a, b, SSH_BLOCKSIZE)) |
48 | 48 | ||
49 | 49 | static void | |
50 | void | ||
51 | crc_update(u_int32_t *a, u_int32_t b) | 50 | crc_update(u_int32_t *a, u_int32_t b) |
52 | { | 51 | { |
53 | b ^= *a; | 52 | b ^= *a; |
@@ -55,7 +54,7 @@ crc_update(u_int32_t *a, u_int32_t b) | |||
55 | } | 54 | } |
56 | 55 | ||
57 | /* detect if a block is used in a particular pattern */ | 56 | /* detect if a block is used in a particular pattern */ |
58 | int | 57 | static int |
59 | check_crc(u_char *S, u_char *buf, u_int32_t len, | 58 | check_crc(u_char *S, u_char *buf, u_int32_t len, |
60 | u_char *IV) | 59 | u_char *IV) |
61 | { | 60 | { |