summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect2.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2016-04-28 14:30:21 +0000
committerdjm <djm@openbsd.org>2016-04-28 14:30:21 +0000
commit3d9fa585a8101db3ceba4db150e743151dcd8b35 (patch)
tree236d80a4cb50ac02eeef3e9a6eacc24732531dfa /usr.bin/ssh/sshconnect2.c
parent1) Split pledge whitelist path handling out of pledge_namei() and into (diff)
downloadwireguard-openbsd-3d9fa585a8101db3ceba4db150e743151dcd8b35.tar.xz
wireguard-openbsd-3d9fa585a8101db3ceba4db150e743151dcd8b35.zip
fix comment
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
-rw-r--r--usr.bin/ssh/sshconnect2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index 4f669a5b7ee..a87aa8d1b6f 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/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.
@@ -1086,8 +1086,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;