diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-05-09 17:32:25 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-05-09 17:32:25 +0000 |
commit | b2b4aa59f1a5f3005c6b2c2d9816c85ec1aa5b04 (patch) | |
tree | c0eec48e5c57a3cb018e877630ac93e3c740563c /usr.sbin/pppd/auth.c | |
parent | 27eb7243575ad4af06f334a8c455b7ca414c514b (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.c | 4 |
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); |