summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-06-08 23:18:46 -0400
committerAndrew Cady <d@jerkface.net>2021-03-13 10:46:55 -0500
commitd1b99707d6da0d33b26550ee2beaa79ed2a8250a (patch)
tree53c6833df015b710be9a1420305e4ce9f652ea09 /auth2-pubkey.c
parent82417ffe3d0ce74bc8cfed3c46089e2e55826628 (diff)
Comment our function
Diffstat (limited to 'auth2-pubkey.c')
-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{