summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppd/auth.c b/usr.sbin/pppd/auth.c
index df1c5deb9bc..1e2f175c881 100644
--- a/usr.sbin/pppd/auth.c
+++ b/usr.sbin/pppd/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.35 2015/12/26 20:51:35 guenther Exp $ */
+/* $OpenBSD: auth.c,v 1.36 2016/05/09 17:32:24 tedu Exp $ */
/*
* auth.c - PPP authentication and phase control.
@@ -879,7 +879,7 @@ plogin(user, passwd, msg, msglen)
struct spwd *getspnam();
#endif
- pw = getpwnam(user);
+ pw = getpwnam_shadow(user);
endpwent();
if (pw == NULL) {
return (UPAP_AUTHNAK);