diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-06-07 03:38:38 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-06-07 13:39:41 +1000 |
commit | d45b9c63f947ec5ec314696e70281f6afddc0ac3 (patch) | |
tree | 7d73daa2564b4ce68770bff396553dec18481b2e | |
parent | 530739d42f6102668aecd699be0ce59815c1eceb (diff) |
upstream: fix debug message when finding a private key to match a
certificate being attempted for user authentication. Previously it would
print the certificate's path, whereas it was supposed to be showing the
private key's path. Patch from Alex Sherwin via GHPR247
OpenBSD-Commit-ID: d5af3be66d0f22c371dc1fe6195e774a18b2327b
-rw-r--r-- | sshconnect2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 9b9a99b9..5ff90c46 100644 --- a/sshconnect2.c +++ b/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.348 2021/06/06 03:40:39 djm Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.349 2021/06/07 03:38:38 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2008 Damien Miller. All rights reserved. @@ -1382,8 +1382,8 @@ sign_and_send_pubkey(struct ssh *ssh, Identity *id) } if (sign_id != NULL) { debug2_f("using private key \"%s\"%s for " - "certificate", id->filename, - id->agent_fd != -1 ? " from agent" : ""); + "certificate", sign_id->filename, + sign_id->agent_fd != -1 ? " from agent" : ""); } else { debug_f("no separate private key for certificate " "\"%s\"", id->filename); |