summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-05-01 22:55:23 +1000
committerDamien Miller <djm@mindrot.org>2000-05-01 22:55:23 +1000
commit1cead2c02c6fa353594228adb1dea20c9a4e034f (patch)
treeba0d67b0c50793feb3b590c7161e76b606fc8fbc /auth2.c
parent0e489dc5aed9d54ce1943e6bde26f1d22ac13ded (diff)
- Add some missing ifdefs to auth2.c
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth2.c b/auth2.c
index cfe63cdf..34a5f482 100644
--- a/auth2.c
+++ b/auth2.c
@@ -93,8 +93,12 @@ void
do_authentication2()
{
/* turn off skey/kerberos, not supported by SSH2 */
+#ifdef SKEY
options.skey_authentication = 0;
+#endif
+#ifdef KRB4
options.kerberos_authentication = 0;
+#endif
dispatch_init(&protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);