summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index fb90e8afc..7b0e18f28 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.280 2018/07/11 18:55:11 markus Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.281 2018/07/16 11:05:41 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.
@@ -1990,12 +1990,8 @@ userauth_hostbased(Authctxt *authctxt)
1990#ifdef DEBUG_PK 1990#ifdef DEBUG_PK
1991 sshbuf_dump(b, stderr); 1991 sshbuf_dump(b, stderr);
1992#endif 1992#endif
1993 if (authctxt->sensitive->external_keysign) 1993 r = ssh_keysign(private, &sig, &siglen,
1994 r = ssh_keysign(private, &sig, &siglen, 1994 sshbuf_ptr(b), sshbuf_len(b));
1995 sshbuf_ptr(b), sshbuf_len(b));
1996 else if ((r = sshkey_sign(private, &sig, &siglen,
1997 sshbuf_ptr(b), sshbuf_len(b), NULL, datafellows)) != 0)
1998 debug("%s: sshkey_sign: %s", __func__, ssh_err(r));
1999 if (r != 0) { 1995 if (r != 0) {
2000 error("sign using hostkey %s %s failed", 1996 error("sign using hostkey %s %s failed",
2001 sshkey_ssh_name(private), fp); 1997 sshkey_ssh_name(private), fp);