summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect2.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2015-12-11 02:20:28 +0000
committerdjm <djm@openbsd.org>2015-12-11 02:20:28 +0000
commitd0e7138021e88fd9911c9ec8cd96348fba944e38 (patch)
tree28ee568435746713c469136a7048115c6e5549f0 /usr.bin/ssh/sshconnect2.c
parentPass (char *)NULL rather than (char *)0 to execl and execlp. (diff)
downloadwireguard-openbsd-d0e7138021e88fd9911c9ec8cd96348fba944e38.tar.xz
wireguard-openbsd-d0e7138021e88fd9911c9ec8cd96348fba944e38.zip
correct error messages; from Tomas Kuthan bz#2507
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
-rw-r--r--usr.bin/ssh/sshconnect2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index 5b8bb27f1b4..07dc1c4d9da 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/sshconnect2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect2.c,v 1.233 2015/12/11 00:20:04 mmcc Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.234 2015/12/11 02:20:28 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -1121,6 +1121,7 @@ sign_and_send_pubkey(Authctxt *authctxt, Identity *id)
ret = identity_sign(id, &signature, &slen,
buffer_ptr(&b), buffer_len(&b), datafellows);
if (ret != 0) {
+ error("%s: signing failed: %s", __func__, ssh_err(ret));
free(blob);
buffer_free(&b);
return 0;