summaryrefslogtreecommitdiff
path: root/auth-rh-rsa.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 /auth-rh-rsa.c
parent1f729f0614d1376c3332fa1edb6a5e5cec7e9e03 (diff)
add --without-ssh1 option to configure
Allows disabling support for SSH protocol 1.
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r--auth-rh-rsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c
index b7fd064e7..2e20396ea 100644
--- a/auth-rh-rsa.c
+++ b/auth-rh-rsa.c
@@ -15,6 +15,8 @@
15 15
16#include "includes.h" 16#include "includes.h"
17 17
18#ifdef WITH_SSH1
19
18#include <sys/types.h> 20#include <sys/types.h>
19 21
20#include <pwd.h> 22#include <pwd.h>
@@ -102,3 +104,5 @@ auth_rhosts_rsa(Authctxt *authctxt, char *cuser, Key *client_host_key)
102 packet_send_debug("Rhosts with RSA host authentication accepted."); 104 packet_send_debug("Rhosts with RSA host authentication accepted.");
103 return 1; 105 return 1;
104} 106}
107
108#endif /* WITH_SSH1 */