]> andersk Git - openssh.git/commitdiff
- (dtucker) [auth-pam.c] Don't use PAM namespace for
authordtucker <dtucker>
Sat, 19 Jun 2004 02:54:38 +0000 (02:54 +0000)
committerdtucker <dtucker>
Sat, 19 Jun 2004 02:54:38 +0000 (02:54 +0000)
    pam_password_change_required either.

ChangeLog
auth-pam.c

index cae53357a87700924df4d2884fd4232eb5f1064e..32ab7841002bad89ad1cbb626eac812dc2739afd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20040619
+ - (dtucker) [auth-pam.c] Don't use PAM namespace for
+    pam_password_change_required either.
+
 20040618
  - (djm) OpenBSD CVS Sync
    - djm@cvs.openbsd.org 2004/06/17 14:52:48
index 76801ea180cef84c3ec086ff29e3331b9a95ef4a..0d4335397e27ba6ffc6b163d0cb44f056b6aae7d 100644 (file)
@@ -202,7 +202,7 @@ pam_getenvlist(pam_handle_t *pamh)
 #endif
 
 void
-pam_password_change_required(int reqd)
+sshpam_password_change_required(int reqd)
 {
        debug3("%s %d", __func__, reqd);
        if (sshpam_authctxt == NULL)
@@ -232,7 +232,7 @@ import_environments(Buffer *b)
 #ifndef USE_POSIX_THREADS
        /* Import variables set by do_pam_account */
        sshpam_account_status = buffer_get_int(b);
-       pam_password_change_required(buffer_get_int(b));
+       sshpam_password_change_required(buffer_get_int(b));
 
        /* Import environment from subprocess */
        num_env = buffer_get_int(b);
@@ -386,7 +386,7 @@ sshpam_thread(void *ctxtp)
                            PAM_CHANGE_EXPIRED_AUTHTOK);
                        if (sshpam_err != PAM_SUCCESS)
                                goto auth_fail;
-                       pam_password_change_required(0);
+                       sshpam_password_change_required(0);
                }
        }
 
@@ -736,7 +736,7 @@ do_pam_account(void)
        }
 
        if (sshpam_err == PAM_NEW_AUTHTOK_REQD)
-               pam_password_change_required(1);
+               sshpam_password_change_required(1);
 
        sshpam_account_status = 1;
        return (sshpam_account_status);
This page took 0.125596 seconds and 5 git commands to generate.