diff options
Diffstat (limited to 'security/openssh/files/patch-auth2-passwd.c')
-rw-r--r-- | security/openssh/files/patch-auth2-passwd.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/openssh/files/patch-auth2-passwd.c b/security/openssh/files/patch-auth2-passwd.c new file mode 100644 index 000000000000..da16a83e48f2 --- /dev/null +++ b/security/openssh/files/patch-auth2-passwd.c @@ -0,0 +1,14 @@ +--- auth2-passwd.c.orig Fri May 31 13:35:15 2002 ++++ auth2-passwd.c Fri Jun 21 22:54:05 2002 +@@ -48,7 +48,11 @@ + password = packet_get_string(&len); + packet_check_eom(); + if (authctxt->valid && ++#ifdef USE_PAM ++ PRIVSEP(auth_pam_password(authctxt, password)) == 1) ++#else + PRIVSEP(auth_password(authctxt, password)) == 1) ++#endif + authenticated = 1; + memset(password, 0, len); + xfree(password); |