diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-06-22 12:31:18 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-06-22 12:31:18 +0000 |
commit | c90874ad5108bd2697d287fc3749f545840f0bd3 (patch) | |
tree | 7a66115f5705b936ac81a587a7c0622564d2dbb7 /security/openssh/files/patch-auth2-passwd.c | |
parent | Updated to 1.07 (diff) |
Update to openssh-3.3
- New program ssh-keysign
- New manpages for ssh_config and sshd_config
- Merge Pathes to new files
- Fix GCC problem with unsupported __func__ in older Releases
Notes
Notes:
svn path=/head/; revision=61731
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); |