summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-04-28 14:30:21 +0000
committerDamien Miller <djm@mindrot.org>2016-04-29 18:09:02 +1000
commit9ee692fa1146e887e008a2b9a3d3ea81770c9fc8 (patch)
treedc791234f0ee013a97e8e8ba63afcaceafd89ad4 /sshconnect2.c
parentee1e0a16ff2ba41a4d203c7670b54644b6c57fa6 (diff)
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 @@
1/* $OpenBSD: sshconnect2.c,v 1.240 2016/03/14 16:20:54 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.241 2016/04/28 14:30:21 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.
@@ -1094,8 +1094,8 @@ sign_and_send_pubkey(Authctxt *authctxt, Identity *id)
1094 /* 1094 /*
1095 * If the key is an certificate, try to find a matching private key 1095 * If the key is an certificate, try to find a matching private key
1096 * and use it to complete the signature. 1096 * and use it to complete the signature.
1097 * If no such private key exists, return failure and continue with 1097 * If no such private key exists, fall back to trying the certificate
1098 * other methods of authentication. 1098 * key itself in case it has a private half already loaded.
1099 */ 1099 */
1100 if (key_is_cert(id->key)) { 1100 if (key_is_cert(id->key)) {
1101 matched = 0; 1101 matched = 0;