Remove code related to the PAMAuthenticationViaKbdInt option (which we've

disabled).  This removes the only reference to auth2_pam().
This commit is contained in:
Dag-Erling Smørgrav 2002-12-14 13:48:13 +00:00
parent 3600b2f406
commit bdb8839451
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107859

View File

@ -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