From bdb883945175f397fb0042ddad285c356cb20796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 14 Dec 2002 13:48:13 +0000 Subject: [PATCH] Remove code related to the PAMAuthenticationViaKbdInt option (which we've disabled). This removes the only reference to auth2_pam(). --- crypto/openssh/auth2-kbdint.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crypto/openssh/auth2-kbdint.c b/crypto/openssh/auth2-kbdint.c index e6099288155..15c20b33921 100644 --- a/crypto/openssh/auth2-kbdint.c +++ b/crypto/openssh/auth2-kbdint.c @@ -24,6 +24,7 @@ #include "includes.h" RCSID("$OpenBSD: auth2-kbdint.c,v 1.2 2002/05/31 11:35:15 markus Exp $"); +RCSID("$FreeBSD$"); #include "packet.h" #include "auth.h" @@ -49,10 +50,6 @@ userauth_kbdint(Authctxt *authctxt) if (options.challenge_response_authentication) authenticated = auth2_challenge(authctxt, devs); -#ifdef USE_PAM - if (authenticated == 0 && options.pam_authentication_via_kbd_int) - authenticated = auth2_pam(authctxt); -#endif xfree(devs); xfree(lang); #ifdef HAVE_CYGWIN