summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-07-07 01:05:00 +0000
committerDamien Miller <djm@mindrot.org>2019-07-08 11:45:51 +1000
commit696fb4298e80f2ebcd188986a91b49af3b7ca14c (patch)
treeb07d04b5035781544ddb0e9e9fee1476bf564850 /sshconnect2.c
parent156e9e85e92b46ca90226605d9eff49e8ec31b22 (diff)
upstream: Remove some set but never used variables. ok daraadt@
OpenBSD-Commit-ID: 824baf9c59afc66a4637017e397b9b74a41684e7
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 0ad44ce19..cb8d2193d 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.306 2019/06/28 13:35:04 deraadt Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.307 2019/07/07 01:05:00 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2008 Damien Miller. All rights reserved. 4 * Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -570,14 +570,13 @@ input_userauth_failure(int type, u_int32_t seq, struct ssh *ssh)
570 Authctxt *authctxt = ssh->authctxt; 570 Authctxt *authctxt = ssh->authctxt;
571 char *authlist = NULL; 571 char *authlist = NULL;
572 u_char partial; 572 u_char partial;
573 int r;
574 573
575 if (authctxt == NULL) 574 if (authctxt == NULL)
576 fatal("input_userauth_failure: no authentication context"); 575 fatal("input_userauth_failure: no authentication context");
577 576
578 if ((r = sshpkt_get_cstring(ssh, &authlist, NULL)) != 0 || 577 if (sshpkt_get_cstring(ssh, &authlist, NULL) != 0 ||
579 (r = sshpkt_get_u8(ssh, &partial)) != 0 || 578 sshpkt_get_u8(ssh, &partial) != 0 ||
580 (r = sshpkt_get_end(ssh)) != 0) 579 sshpkt_get_end(ssh) != 0)
581 goto out; 580 goto out;
582 581
583 if (partial != 0) { 582 if (partial != 0) {