diff options
author | Andrew Cady <d@jerkface.net> | 2018-08-26 07:31:58 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-08-16 14:42:26 -0400 |
commit | 0c69b8b9c83b9f6e6ff5114514a25e70a52b14ce (patch) | |
tree | d0254b5a951cbee39cfd7bd9f1bce618faf06a54 /auth2-pubkey.c | |
parent | 31329e74d517caf07ce189df27441bc9659a7074 (diff) |
variable renames, store key type
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; |