diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2.c,v 1.40 2001/02/10 12:52:02 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2.c,v 1.41 2001/02/12 16:16:23 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/evp.h> | 28 | #include <openssl/evp.h> |
29 | 29 | ||
@@ -230,7 +230,8 @@ input_userauth_request(int type, int plen, void *ctxt) | |||
230 | authctxt->user); | 230 | authctxt->user); |
231 | 231 | ||
232 | /* Special handling for root */ | 232 | /* Special handling for root */ |
233 | if (authenticated && authctxt->pw->pw_uid == 0 && !auth_root_allowed()) | 233 | if (authenticated && authctxt->pw->pw_uid == 0 && |
234 | !auth_root_allowed(method)) | ||
234 | authenticated = 0; | 235 | authenticated = 0; |
235 | 236 | ||
236 | #ifdef USE_PAM | 237 | #ifdef USE_PAM |