summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pubkey.c')
-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{