diff options
author | 2002-05-17 14:27:55 +0000 | |
---|---|---|
committer | 2002-05-17 14:27:55 +0000 | |
commit | 86fca2730bed0a1fd1f34b6f4cc69a0b03aaa2ab (patch) | |
tree | 02c3b4328374dc324eb0c3185d3015b29e58cc41 /usr.bin/ssh/auth.c | |
parent | oops, worked only because va_end is a noop on most of our arches. (diff) | |
download | wireguard-openbsd-86fca2730bed0a1fd1f34b6f4cc69a0b03aaa2ab.tar.xz wireguard-openbsd-86fca2730bed0a1fd1f34b6f4cc69a0b03aaa2ab.zip |
Fix typo/thinko. Pass in as to auth_approval(), not NULL.
Closes PR 2659.
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r-- | usr.bin/ssh/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c index 37231e5626a..59e76bc3ced 100644 --- a/usr.bin/ssh/auth.c +++ b/usr.bin/ssh/auth.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth.c,v 1.42 2002/05/13 20:44:58 markus Exp $"); +RCSID("$OpenBSD: auth.c,v 1.43 2002/05/17 14:27:55 millert Exp $"); #include <libgen.h> @@ -416,7 +416,7 @@ getpwnamallow(const char *user) } #ifdef BSD_AUTH if ((as = auth_open()) == NULL || auth_setpwd(as, pw) != 0 || - auth_approval(NULL, lc, pw->pw_name, "ssh") <= 0) { + auth_approval(as, lc, pw->pw_name, "ssh") <= 0) { debug("Approval failure for %s", user); pw = NULL; } |