diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-08 18:20:02 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-08 18:20:02 +0000 |
commit | 94c2e39d9c043a96996b2dca0a037baa86e1b2b9 (patch) | |
tree | 89b1c7c50de86f22f9839514ac3bd8a55340ceb5 | |
parent | d7821c424cf91cbda8d7ba4d97e3e3316ba2cc91 (diff) |
strict checking
-rw-r--r-- | usr.bin/ssh/auth2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index 89dcef577c2..af6b58e08b4 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.38 2001/02/08 18:12:30 markus Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.39 2001/02/08 18:20:01 markus Exp $"); #include <openssl/evp.h> @@ -274,7 +274,7 @@ userauth_reply(Authctxt *authctxt, int authenticated) char *methods; /* XXX todo: check if multiple auth methods are needed */ - if (authenticated) { + if (authenticated == 1) { /* turn off userauth */ dispatch_set(SSH2_MSG_USERAUTH_REQUEST, &protocol_error); packet_start(SSH2_MSG_USERAUTH_SUCCESS); |