diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-02-08 19:16:32 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-02-08 19:16:32 +0000 |
commit | 4abe4def70f501b504b9bf47645b07e4976514eb (patch) | |
tree | 5957c3bc2d697e20cfedfe183678363fa98e6a6f /auth2.c | |
parent | fc032bbf2f9fc60cb9014f4400c235c79a1e74f7 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |