diff options
author | tedu <tedu@openbsd.org> | 2016-05-09 17:32:24 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2016-05-09 17:32:24 +0000 |
commit | c2e9d2bcfd5abc557378d1a9a1a3d264f3c7c367 (patch) | |
tree | c4c52c7540811f0d6510dc7e9730b34ecd2a1030 /usr.sbin/pppd | |
parent | Stop using sigreturn for longjmp, just set the signal mask and return (diff) | |
download | wireguard-openbsd-c2e9d2bcfd5abc557378d1a9a1a3d264f3c7c367.tar.xz wireguard-openbsd-c2e9d2bcfd5abc557378d1a9a1a3d264f3c7c367.zip |
need to use shadow passwd function here, reminded by sthen
Diffstat (limited to 'usr.sbin/pppd')
-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); |