aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh
diff options
context:
space:
mode:
authorTony Finch <fanf@FreeBSD.org>2002-08-01 17:29:41 +0000
committerTony Finch <fanf@FreeBSD.org>2002-08-01 17:29:41 +0000
commite7862b327f453c76623dd2225ea6e6c22a0a6398 (patch)
tree05f4b3d93ca4d832869b30d72a59bc3bda2b5332 /crypto/openssh
parent9527f33ecb3be86c35a6f6d6a8a358f521e77030 (diff)
Notes
Diffstat (limited to 'crypto/openssh')
-rw-r--r--crypto/openssh/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssh/auth.c b/crypto/openssh/auth.c
index 066b50d6ba1d..c90865f78079 100644
--- a/crypto/openssh/auth.c
+++ b/crypto/openssh/auth.c
@@ -24,6 +24,7 @@
#include "includes.h"
RCSID("$OpenBSD: auth.c,v 1.43 2002/05/17 14:27:55 millert Exp $");
+RCSID("$FreeBSD$");
#ifdef HAVE_LOGIN_H
#include <login.h>
@@ -479,7 +480,7 @@ getpwnamallow(const char *user)
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);
}