aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-08-06 19:31:25 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-08-06 19:31:25 +0000
commit58d5d9a29769726f15a52955111e2cdd8a586c14 (patch)
tree996c795a6290ce755f3dade467b55834a2a07370 /security/openssh-portable/files
parentc0633510da317c661ae44bc821eb97649ae74106 (diff)
downloadports-58d5d9a29769726f15a52955111e2cdd8a586c14.tar.gz
ports-58d5d9a29769726f15a52955111e2cdd8a586c14.zip
Notes
Diffstat (limited to 'security/openssh-portable/files')
-rw-r--r--security/openssh-portable/files/patch-auth.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/openssh-portable/files/patch-auth.c b/security/openssh-portable/files/patch-auth.c
index bcba47e64b8c..e8f640a16936 100644
--- a/security/openssh-portable/files/patch-auth.c
+++ b/security/openssh-portable/files/patch-auth.c
@@ -18,3 +18,12 @@
/* We found no reason not to let this user try to log on... */
return 1;
}
+@@ -490,7 +480,7 @@
+ if (pw == NULL || !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);
+ }