summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-01-19 05:59:24 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-01-19 05:59:24 +0000
commitc0cbe6a9b847f52baabb5f332f3ea3efb41d0f78 (patch)
tree49881464d41035045e5abf418f1d375e5b4a1c1a /libexec
parent937d2ef61a6ba8361aeea1a56b845080b67ae879 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 15dcd20750d2..287436a025d2 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1251,9 +1251,10 @@ pass(passwd)
}
#ifdef USE_PAM
rval = auth_pam(&pw, passwd);
- opieunlock(); /* XXX */
- if (rval >= 0)
+ if (rval >= 0) {
+ opieunlock();
goto skip;
+ }
#endif
if (opieverify(&opiedata, passwd) == 0)
xpasswd = pw->pw_passwd;