diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 1f918533f..4d426c33c 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect2.c,v 1.236 2016/01/14 16:17:40 markus Exp $ */ | 1 | /* $OpenBSD: sshconnect2.c,v 1.237 2016/01/14 22:56:56 markus 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. |
@@ -1344,6 +1344,7 @@ pubkey_prepare(Authctxt *authctxt) | |||
1344 | if (r != SSH_ERR_AGENT_NO_IDENTITIES) | 1344 | if (r != SSH_ERR_AGENT_NO_IDENTITIES) |
1345 | debug("%s: ssh_fetch_identitylist: %s", | 1345 | debug("%s: ssh_fetch_identitylist: %s", |
1346 | __func__, ssh_err(r)); | 1346 | __func__, ssh_err(r)); |
1347 | close(agent_fd); | ||
1347 | } else { | 1348 | } else { |
1348 | for (j = 0; j < idlist->nkeys; j++) { | 1349 | for (j = 0; j < idlist->nkeys; j++) { |
1349 | found = 0; | 1350 | found = 0; |