From 8dc2accbea25198aed5eca4d99fd6759dc0c735b Mon Sep 17 00:00:00 2001 From: markus Date: Wed, 31 May 2017 05:34:14 +0000 Subject: [PATCH] use the ssh_dispatch_run_fatal variant --- usr.bin/ssh/auth2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index e50800e2d46..fcdfbdb820d 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2.c,v 1.140 2017/05/30 14:29:59 markus Exp $ */ +/* $OpenBSD: auth2.c,v 1.141 2017/05/31 05:34:14 markus Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -159,7 +159,7 @@ do_authentication2(Authctxt *authctxt) ssh->authctxt = authctxt; /* XXX move to caller */ ssh_dispatch_init(ssh, &dispatch_protocol_error); ssh_dispatch_set(ssh, SSH2_MSG_SERVICE_REQUEST, &input_service_request); - ssh_dispatch_run(ssh, DISPATCH_BLOCK, &authctxt->success, ssh); + ssh_dispatch_run_fatal(ssh, DISPATCH_BLOCK, &authctxt->success, ssh); ssh->authctxt = NULL; } -- 2.20.1