freebsd-ports/security/openssh-portable/files/patch-auth.c
Marcus Alves Grando 5ef0f821ec - Update to 4.4p1.
- Disable temporary HPN patch until HPN release new version.
- Fix rc.d script path in sshd.8
- Add FreeBSD-${PKGNAME} in SSH_VERSION and SSH_RELEASE like src does.
- Sync patches with src.

Security:	CVE-2006-4924, CVE-2006-5051
2006-10-01 02:15:00 +00:00

11 lines
332 B
C

--- auth.c.orig Wed Sep 6 21:36:43 2006
+++ auth.c Sat Sep 30 10:38:04 2006
@@ -500,7 +501,7 @@
if (!allowed_user(pw))
return (NULL);
#ifdef HAVE_LOGIN_CAP
- if ((lc = login_getclass(pw->pw_class)) == NULL) {
+ if ((lc = login_getpwclass(pw)) == NULL) {
debug("unable to get login class: %s", user);
return (NULL);
}