From f7903522c6ab078dedebff63470a0296dc1eb1c1 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 8 Jun 2019 23:18:46 -0400 Subject: Comment our function --- auth2-pubkey.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) return (*cp == '\0' && quoted) ? -1 : 0; } + +/* Just like check_authkey_line, except check for a valid wildcard entry. + * + * Check a single line of an authorized_keys-format file. Returns 0 if key + * matches, -1 otherwise. Will return key/cert options via *authoptsp on + * success. "loc" is used as file/line location in log messages. + */ static int check_authkey_line_for_wildcard(struct sshkey *key, char *cp, const char *loc, struct sshauthopt **authoptsp) { -- cgit v1.2.3