summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/auth.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2016-05-09 17:32:25 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2016-05-09 17:32:25 +0000
commitb2b4aa59f1a5f3005c6b2c2d9816c85ec1aa5b04 (patch)
treec0eec48e5c57a3cb018e877630ac93e3c740563c /usr.sbin/pppd/auth.c
parent27eb7243575ad4af06f334a8c455b7ca414c514b (diff)
need to use shadow passwd function here, reminded by sthen
Diffstat (limited to 'usr.sbin/pppd/auth.c')
-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);