diff options
author | 2001-02-08 18:20:01 +0000 | |
---|---|---|
committer | 2001-02-08 18:20:01 +0000 | |
commit | e6ee12e98827ba53cf02a9d4d336dd5b3a27deba (patch) | |
tree | 7548104ae3835304e401c327b3dafecb5964dae5 | |
parent | update to 2.3.2 (diff) | |
download | wireguard-openbsd-e6ee12e98827ba53cf02a9d4d336dd5b3a27deba.tar.xz wireguard-openbsd-e6ee12e98827ba53cf02a9d4d336dd5b3a27deba.zip |
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); |