From 76c0480a85675f03a1376167cb686abed01a3583 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 13 Jan 2015 19:38:18 +1100 Subject: add --without-ssh1 option to configure Allows disabling support for SSH protocol 1. --- sshconnect1.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sshconnect1.c') diff --git a/sshconnect1.c b/sshconnect1.c index dd12a3af2..08589f5ee 100644 --- a/sshconnect1.c +++ b/sshconnect1.c @@ -15,6 +15,8 @@ #include "includes.h" +#ifdef WITH_SSH1 + #include #include @@ -755,3 +757,5 @@ ssh_userauth1(const char *local_user, const char *server_user, char *host, success: return; /* need statement after label */ } + +#endif /* WITH_SSH1 */ -- cgit v1.2.3