diff options
author | Andrew Cady <d@jerkface.net> | 2019-06-08 23:18:46 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-08-16 14:45:05 -0400 |
commit | a5e99e21449ca994c606f2d15c84db2841a52da2 (patch) | |
tree | 1ed675f7ee153cabc209724d3c79437c083d958e | |
parent | 9bfb6ca077fd499ea587683abc27e9b3bd0cc44e (diff) |
Comment our function
-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 a3cee1776..51f5edb0f 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -565,6 +565,12 @@ match_principals_command(struct ssh *ssh, struct passwd *user_pw, | |||
565 | return found_principal; | 565 | return found_principal; |
566 | } | 566 | } |
567 | 567 | ||
568 | /* Just like check_authkey_line, except check for a valid wildcard entry. | ||
569 | * | ||
570 | * Check a single line of an authorized_keys-format file. Returns 0 if key | ||
571 | * matches, -1 otherwise. Will return key/cert options via *authoptsp on | ||
572 | * success. "loc" is used as file/line location in log messages. | ||
573 | */ | ||
568 | static int | 574 | static int |
569 | check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) | 575 | check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) |
570 | { | 576 | { |