summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-08 19:16:32 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-08 19:16:32 +0000
commit4abe4def70f501b504b9bf47645b07e4976514eb (patch)
tree5957c3bc2d697e20cfedfe183678363fa98e6a6f /auth2.c
parentfc032bbf2f9fc60cb9014f4400c235c79a1e74f7 (diff)
- (stevesk) OpenBSD sync:
- markus@cvs.openbsd.org 2001/02/08 11:20:01 [auth2.c] strict checking - markus@cvs.openbsd.org 2001/02/08 11:15:22 [version.h] update to 2.3.2 - markus@cvs.openbsd.org 2001/02/08 11:12:30 [auth2.c] fix typo
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2.c b/auth2.c
index 9cfb3c1a..f2f4812e 100644
--- a/auth2.c
+++ b/auth2.c
@@ -305,7 +305,7 @@ userauth_reply(Authctxt *authctxt, int authenticated)
char *methods;
/* XXX todo: check if multiple auth methods are needed */
- if (authenticated) {
+ if (authenticated == 1) {
#ifdef WITH_AIXAUTHENTICATE
/* We don't have a pty yet, so just label the line as "ssh" */
if (loginsuccess(authctxt->user?authctxt->user:"NOUSER",
@@ -512,7 +512,7 @@ userauth_pubkey(Authctxt *authctxt)
packet_put_string(pkblob, blen);
packet_send();
packet_write_wait();
- authenticated = -1;
+ authctxt->postponed = 1;
}
}
if (authenticated != 1)