diff options
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r-- | auth2-pubkey.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index f89716a21..92c37accf 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -630,12 +630,13 @@ check_authkey_line(struct ssh *ssh, struct passwd *pw, struct sshkey *key, | |||
630 | goto fail_reason; | 630 | goto fail_reason; |
631 | } | 631 | } |
632 | 632 | ||
633 | wildcard_match = keytext; | 633 | wildcard_remote_key = keytext; |
634 | wildcard_fingerprint = sshkey_fingerprint(key, SSH_DIGEST_SHA256, SSH_FP_HEX); | 634 | wildcard_remote_key_type = sshkey_type(key); |
635 | wildcard_remote_key_fingerprint = sshkey_fingerprint(key, SSH_DIGEST_SHA256, SSH_FP_HEX); | ||
635 | 636 | ||
636 | verbose("Accepted wildcard authorization for %s key %s with forced_command=%s", | 637 | verbose("Accepted wildcard authorization for %s key %s with forced_command=%s", |
637 | sshkey_type(key), | 638 | sshkey_type(key), |
638 | wildcard_fingerprint, | 639 | wildcard_remote_key_fingerprint, |
639 | keyopts->force_command); | 640 | keyopts->force_command); |
640 | 641 | ||
641 | finalopts = keyopts; | 642 | finalopts = keyopts; |