summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-01-13 19:38:18 +1100
committerDamien Miller <djm@mindrot.org>2015-01-13 19:38:18 +1100
commit76c0480a85675f03a1376167cb686abed01a3583 (patch)
tree25f6fa4adfa0e608a178c5d0189c63b745bc026b /auth1.c
parent1f729f0614d1376c3332fa1edb6a5e5cec7e9e03 (diff)
downloadopenssh-git-76c0480a85675f03a1376167cb686abed01a3583.tar.gz
add --without-ssh1 option to configure
Allows disabling support for SSH protocol 1.
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth1.c b/auth1.c
index 50388285..5073c49b 100644
--- a/auth1.c
+++ b/auth1.c
@@ -12,6 +12,8 @@
#include "includes.h"
+#ifdef WITH_SSH1
+
#include <sys/types.h>
#include <stdarg.h>
@@ -438,3 +440,5 @@ do_authentication(Authctxt *authctxt)
packet_send();
packet_write_wait();
}
+
+#endif /* WITH_SSH1 */