diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-31 05:34:14 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-31 18:39:10 +1000 |
commit | 17ad5b346043c5bbc5befa864d0dbeb76be39390 (patch) | |
tree | 9c800d87d178a2ca694a13dbdf2b1ace51487189 | |
parent | 39896b777320a6574dd06707aebac5fb98e666da (diff) |
upstream commit
use the ssh_dispatch_run_fatal variant
Upstream-ID: 28c5b364e37c755d1b22652b8cd6735a05c625d8
-rw-r--r-- | auth2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2.c,v 1.140 2017/05/30 14:29:59 markus Exp $ */ | 1 | /* $OpenBSD: auth2.c,v 1.141 2017/05/31 05:34:14 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -172,7 +172,7 @@ do_authentication2(Authctxt *authctxt) | |||
172 | ssh->authctxt = authctxt; /* XXX move to caller */ | 172 | ssh->authctxt = authctxt; /* XXX move to caller */ |
173 | ssh_dispatch_init(ssh, &dispatch_protocol_error); | 173 | ssh_dispatch_init(ssh, &dispatch_protocol_error); |
174 | ssh_dispatch_set(ssh, SSH2_MSG_SERVICE_REQUEST, &input_service_request); | 174 | ssh_dispatch_set(ssh, SSH2_MSG_SERVICE_REQUEST, &input_service_request); |
175 | ssh_dispatch_run(ssh, DISPATCH_BLOCK, &authctxt->success, ssh); | 175 | ssh_dispatch_run_fatal(ssh, DISPATCH_BLOCK, &authctxt->success, ssh); |
176 | ssh->authctxt = NULL; | 176 | ssh->authctxt = NULL; |
177 | } | 177 | } |
178 | 178 | ||