summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2000-05-01 23:13:40 +0000
committerDamien Miller <djm@cvs.openbsd.org>2000-05-01 23:13:40 +0000
commite67307f7a4e58973cb67b1a64527f94ff4e2eabf (patch)
treebf536ec198a9fd90ed9b8be961963f7966e0ae2a
parent324bb648b7de9b00f2472905a73e9a30d1cd769e (diff)
Add missing #ifdefs; ok - markus
-rw-r--r--usr.bin/ssh/auth2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index 4d4db8f60b2..41c924d8f9b 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.4 2000/05/01 07:45:08 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.5 2000/05/01 23:13:39 djm Exp $");
#include <openssl/dsa.h>
#include <openssl/rsa.h>
@@ -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);