summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-06-08 23:18:46 -0400
committerAndrew Cady <d@jerkface.net>2020-10-27 17:45:23 -0400
commit1bbb2c343bfdaabb09d340ec97ae35586995ef50 (patch)
tree73bcd4815fde895eed4c28720dfe241d6737ae50
parentd889b1f1174ef9df441457544d3bf611541ce406 (diff)
Comment our function
-rw-r--r--auth2-pubkey.c6
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 */
582static int 588static int
583check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) 589check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp)
584{ 590{