From 1cead2c02c6fa353594228adb1dea20c9a4e034f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 1 May 2000 22:55:23 +1000 Subject: [PATCH] - Add some missing ifdefs to auth2.c --- ChangeLog | 1 + auth2.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index d48430a50..9aedc60aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ - Merged bsd-login ttyslot and AIX utmp patch from Gert Doering + - Add some missing ifdefs to auth2.c 20000430 - Merge HP-UX fixes and TCB support from Ged Lodder diff --git a/auth2.c b/auth2.c index cfe63cdf1..34a5f482d 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);