summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
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 9cfb3c1a1..f2f4812e7 100644
--- a/auth2.c
+++ b/auth2.c
@@ -305,7 +305,7 @@ userauth_reply(Authctxt *authctxt, int authenticated)
305 char *methods; 305 char *methods;
306 306
307 /* XXX todo: check if multiple auth methods are needed */ 307 /* XXX todo: check if multiple auth methods are needed */
308 if (authenticated) { 308 if (authenticated == 1) {
309#ifdef WITH_AIXAUTHENTICATE 309#ifdef WITH_AIXAUTHENTICATE
310 /* We don't have a pty yet, so just label the line as "ssh" */ 310 /* We don't have a pty yet, so just label the line as "ssh" */
311 if (loginsuccess(authctxt->user?authctxt->user:"NOUSER", 311 if (loginsuccess(authctxt->user?authctxt->user:"NOUSER",
@@ -512,7 +512,7 @@ userauth_pubkey(Authctxt *authctxt)
512 packet_put_string(pkblob, blen); 512 packet_put_string(pkblob, blen);
513 packet_send(); 513 packet_send();
514 packet_write_wait(); 514 packet_write_wait();
515 authenticated = -1; 515 authctxt->postponed = 1;
516 } 516 }
517 } 517 }
518 if (authenticated != 1) 518 if (authenticated != 1)