summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-12-11 02:20:28 +0000
committerDamien Miller <djm@mindrot.org>2015-12-11 13:23:14 +1100
commit39736be06c7498ef57d6970f2d85cf066ae57c82 (patch)
tree712b3b83d580441c4482b03cad0fa849705751c0 /sshconnect2.c
parent94141b7ade24afceeb6762a3f99e09e47a6c42b6 (diff)
upstream commit
correct error messages; from Tomas Kuthan bz#2507 Upstream-ID: 7454a0affeab772398052954c79300aa82077093
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 98b67e73e..250278ffe 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.233 2015/12/11 00:20:04 mmcc Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.234 2015/12/11 02:20:28 djm 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.
@@ -1129,6 +1129,7 @@ sign_and_send_pubkey(Authctxt *authctxt, Identity *id)
1129 ret = identity_sign(id, &signature, &slen, 1129 ret = identity_sign(id, &signature, &slen,
1130 buffer_ptr(&b), buffer_len(&b), datafellows); 1130 buffer_ptr(&b), buffer_len(&b), datafellows);
1131 if (ret != 0) { 1131 if (ret != 0) {
1132 error("%s: signing failed: %s", __func__, ssh_err(ret));
1132 free(blob); 1133 free(blob);
1133 buffer_free(&b); 1134 buffer_free(&b);
1134 return 0; 1135 return 0;