diff options
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r-- | auth2-pubkey.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 2db435c1d..3e8b9f8a6 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -579,6 +579,12 @@ match_principals_command(struct ssh *ssh, struct passwd *user_pw, | |||
579 | return found_principal; | 579 | return found_principal; |
580 | } | 580 | } |
581 | 581 | ||
582 | /* Just like check_authkey_line, except check for a valid wildcard entry. | ||
583 | * | ||
584 | * Check a single line of an authorized_keys-format file. Returns 0 if key | ||
585 | * matches, -1 otherwise. Will return key/cert options via *authoptsp on | ||
586 | * success. "loc" is used as file/line location in log messages. | ||
587 | */ | ||
582 | static int | 588 | static int |
583 | check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) | 589 | check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) |
584 | { | 590 | { |