summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/deattack.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-19 02:17:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-19 02:17:13 +0000
commit9a6fdf5d9ae540a47d91df671f3e481e9ea03526 (patch)
tree6f5b0633d80bde4522e1e298e5fb6f536dc9651f /usr.bin/ssh/deattack.c
parent625d6ad914e8a05416669d6d14950fdcbedc22aa (diff)
rename crc32() to ssh_crc32() to avoid zlib name clash. do not move to
libz crc32 function yet, because it has ugly "long"'s in it; oneill@cs.sfu.ca
Diffstat (limited to 'usr.bin/ssh/deattack.c')
-rw-r--r--usr.bin/ssh/deattack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/deattack.c b/usr.bin/ssh/deattack.c
index 7f95eca3199..72e7f1e0611 100644
--- a/usr.bin/ssh/deattack.c
+++ b/usr.bin/ssh/deattack.c
@@ -1,5 +1,5 @@
/*
- * $OpenBSD: deattack.c,v 1.7 2000/06/20 01:39:41 markus Exp $
+ * $OpenBSD: deattack.c,v 1.8 2000/08/19 02:17:12 deraadt Exp $
* Cryptographic attack detector for ssh - source code
*
* Copyright (c) 1998 CORE SDI S.A., Buenos Aires, Argentina.
@@ -50,7 +50,7 @@ void
crc_update(u_int32_t *a, u_int32_t b)
{
b ^= *a;
- *a = crc32((unsigned char *) &b, sizeof(b));
+ *a = ssh_crc32((unsigned char *) &b, sizeof(b));
}
/* detect if a block is used in a particular pattern */