summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 5e1b88900..a08354c7e 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-pubkey.c,v 1.56 2016/09/14 05:42:25 djm Exp $ */ 1/* $OpenBSD: auth2-pubkey.c,v 1.57 2016/09/14 20:11:26 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -681,7 +681,7 @@ match_principals_command(struct passwd *user_pw, const struct sshkey *key)
681 error("%s: sshkey_fingerprint failed", __func__); 681 error("%s: sshkey_fingerprint failed", __func__);
682 goto out; 682 goto out;
683 } 683 }
684 if ((key_fp = sshkey_fingerprint(cert->signature_key, 684 if ((key_fp = sshkey_fingerprint(key,
685 options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) { 685 options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
686 error("%s: sshkey_fingerprint failed", __func__); 686 error("%s: sshkey_fingerprint failed", __func__);
687 goto out; 687 goto out;