summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 4b2347292..9e0467f56 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -33,7 +33,7 @@
33#include "canohost.h" 33#include "canohost.h"
34#include "readpass.h" 34#include "readpass.h"
35 35
36RCSID("$Id: auth-pam.c,v 1.26 2001/02/11 11:35:12 djm Exp $"); 36RCSID("$Id: auth-pam.c,v 1.27 2001/02/11 11:39:19 djm Exp $");
37 37
38#define NEW_AUTHTOK_MSG \ 38#define NEW_AUTHTOK_MSG \
39 "Warning: Your password has expired, please change it now" 39 "Warning: Your password has expired, please change it now"
@@ -224,7 +224,6 @@ int auth_pam_password(struct passwd *pw, const char *password)
224int do_pam_account(char *username, char *remote_user) 224int do_pam_account(char *username, char *remote_user)
225{ 225{
226 int pam_retval; 226 int pam_retval;
227 extern ServerOptions options;
228 227
229 pam_set_conv(&conv); 228 pam_set_conv(&conv);
230 229
@@ -332,6 +331,7 @@ void finish_pam(void)
332void start_pam(const char *user) 331void start_pam(const char *user)
333{ 332{
334 int pam_retval; 333 int pam_retval;
334 extern ServerOptions options;
335 335
336 debug("Starting up PAM with username \"%.200s\"", user); 336 debug("Starting up PAM with username \"%.200s\"", user);
337 337