summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-06-08 23:18:46 -0400
committerAndrew Cady <d@jerkface.net>2019-06-08 23:18:46 -0400
commitf7903522c6ab078dedebff63470a0296dc1eb1c1 (patch)
treeea539e67ec387d9f04cd4ec2a49c493e99b631ba
parent5c105cbaafc8971fe31755ce1245c3a20f6cd85c (diff)
Comment our function
-rw-r--r--auth2-pubkey.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 8580412d8..4c79469aa 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -555,6 +555,13 @@ advance_past_options(char **cpp)
555 return (*cp == '\0' && quoted) ? -1 : 0; 555 return (*cp == '\0' && quoted) ? -1 : 0;
556} 556}
557 557
558
559/* Just like check_authkey_line, except check for a valid wildcard entry.
560 *
561 * Check a single line of an authorized_keys-format file. Returns 0 if key
562 * matches, -1 otherwise. Will return key/cert options via *authoptsp on
563 * success. "loc" is used as file/line location in log messages.
564 */
558static int 565static int
559check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) 566check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp)
560{ 567{