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 bf075c47d..d630d43ef 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -620,12 +620,13 @@ check_authkey_line(struct ssh *ssh, struct passwd *pw, struct sshkey *key, | |||
620 | goto fail_reason; | 620 | goto fail_reason; |
621 | } | 621 | } |
622 | 622 | ||
623 | wildcard_match = keytext; | 623 | wildcard_remote_key = keytext; |
624 | wildcard_fingerprint = sshkey_fingerprint(key, SSH_DIGEST_SHA256, SSH_FP_HEX); | 624 | wildcard_remote_key_type = sshkey_type(key); |
625 | wildcard_remote_key_fingerprint = sshkey_fingerprint(key, SSH_DIGEST_SHA256, SSH_FP_HEX); | ||
625 | 626 | ||
626 | verbose("Accepted wildcard authorization for %s key %s with forced_command=%s", | 627 | verbose("Accepted wildcard authorization for %s key %s with forced_command=%s", |
627 | sshkey_type(key), | 628 | sshkey_type(key), |
628 | wildcard_fingerprint, | 629 | wildcard_remote_key_fingerprint, |
629 | keyopts->force_command); | 630 | keyopts->force_command); |
630 | 631 | ||
631 | finalopts = keyopts; | 632 | finalopts = keyopts; |