summaryrefslogtreecommitdiffstats
path: root/sshconnect2.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-04-28 16:30:21 +0200
committerDamien Miller <djm@mindrot.org>2016-04-29 10:09:02 +0200
commit9ee692fa1146e887e008a2b9a3d3ea81770c9fc8 (patch)
treedc791234f0ee013a97e8e8ba63afcaceafd89ad4 /sshconnect2.c
parentupstream commit (diff)
downloadopenssh-9ee692fa1146e887e008a2b9a3d3ea81770c9fc8.tar.xz
openssh-9ee692fa1146e887e008a2b9a3d3ea81770c9fc8.zip
upstream commit
fix comment Upstream-ID: 313a385bd7b69a82f8e28ecbaf5789c774457b15
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 1cf48a2ee..f7d0644e8 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect2.c,v 1.240 2016/03/14 16:20:54 djm Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.241 2016/04/28 14:30:21 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -1094,8 +1094,8 @@ sign_and_send_pubkey(Authctxt *authctxt, Identity *id)
/*
* If the key is an certificate, try to find a matching private key
* and use it to complete the signature.
- * If no such private key exists, return failure and continue with
- * other methods of authentication.
+ * If no such private key exists, fall back to trying the certificate
+ * key itself in case it has a private half already loaded.
*/
if (key_is_cert(id->key)) {
matched = 0;