aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/deattack.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2006-09-30 13:29:51 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2006-09-30 13:29:51 +0000
commit761efaa70c2ed8d35722b7bc234a46bf2457f876 (patch)
treebba6f2fe7855d7b0095f9dc7720dc27bea4d1fdf /crypto/openssh/deattack.h
parent30c2033ae748d441213eed2e5c3fae760cc8ea61 (diff)
downloadsrc-761efaa70c2ed8d35722b7bc234a46bf2457f876.tar.gz
src-761efaa70c2ed8d35722b7bc234a46bf2457f876.zip
Vendor import of OpenSSH 4.4p1.
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=162852
Diffstat (limited to 'crypto/openssh/deattack.h')
-rw-r--r--crypto/openssh/deattack.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/openssh/deattack.h b/crypto/openssh/deattack.h
index ddccdea50594..0316fb28543b 100644
--- a/crypto/openssh/deattack.h
+++ b/crypto/openssh/deattack.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: deattack.h,v 1.7 2001/06/26 17:27:23 markus Exp $ */
+/* $OpenBSD: deattack.h,v 1.10 2006/09/16 19:53:37 djm Exp $ */
/*
* Cryptographic attack detector for ssh - Header file
@@ -25,6 +25,7 @@
/* Return codes */
#define DEATTACK_OK 0
#define DEATTACK_DETECTED 1
+#define DEATTACK_DOS_DETECTED 2
-int detect_attack(u_char *, u_int32_t, u_char[8]);
+int detect_attack(u_char *, u_int32_t);
#endif