summaryrefslogtreecommitdiffstats
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
parent0e489dc5aed9d54ce1943e6bde26f1d22ac13ded (diff)
- Add some missing ifdefs to auth2.c
-rw-r--r--ChangeLog1
-rw-r--r--auth2.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d48430a5..9aedc60a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
<andre.lucas@dial.pipex.com>
- Merged bsd-login ttyslot and AIX utmp patch from Gert Doering
<gd@hilb1.medat.de>
+ - Add some missing ifdefs to auth2.c
20000430
- Merge HP-UX fixes and TCB support from Ged Lodder <lodder@yacc.com.au>
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);