diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2003-11-04 08:54:10 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2003-11-04 08:54:10 +0000 |
commit | 0935421334417c1804a045cc1588986576d8731e (patch) | |
tree | d1c52163f410e86df7294af8e451f78cef7194f5 /usr.bin/ssh/monitor.c | |
parent | 066472cf2c608f2134ccab0b677adb9af872c521 (diff) |
standardise arguments to auth methods - they should all take authctxt.
check authctxt->valid rather then pw != NULL; ok markus@
Diffstat (limited to 'usr.bin/ssh/monitor.c')
-rw-r--r-- | usr.bin/ssh/monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c index 269254092b2..7a64ae4d74a 100644 --- a/usr.bin/ssh/monitor.c +++ b/usr.bin/ssh/monitor.c @@ -25,7 +25,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: monitor.c,v 1.50 2003/09/23 20:17:11 markus Exp $"); +RCSID("$OpenBSD: monitor.c,v 1.51 2003/11/04 08:54:09 djm Exp $"); #include <openssl/dh.h> @@ -768,7 +768,7 @@ mm_answer_keyallowed(int socket, Buffer *m) debug3("%s: key_from_blob: %p", __func__, key); - if (key != NULL && authctxt->pw != NULL) { + if (key != NULL && authctxt->valid) { switch(type) { case MM_USERKEY: allowed = options.pubkey_authentication && |