]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- Add some missing ifdefs to auth2.c
authorDamien Miller <djm@mindrot.org>
Mon, 1 May 2000 12:55:23 +0000 (22:55 +1000)
committerDamien Miller <djm@mindrot.org>
Mon, 1 May 2000 12:55:23 +0000 (22:55 +1000)
ChangeLog
auth2.c

index d48430a50fd59c65ca0c047f57bd195cfaa68303..9aedc60aa24c51cebea1bc7238138dac6d7a6232 100644 (file)
--- 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 cfe63cdf16f7713f082d08915ec33188aef825da..34a5f482da28a8476d9e45e81e5c86c407e591a4 100644 (file)
--- 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);