Lines Matching full:linenum
623 sshsigopt_parse(const char *opts, const char *path, u_long linenum, in sshsigopt_parse() argument
684 parse_principals_key_and_options(const char *path, u_long linenum, char *line, in parse_principals_key_and_options() argument
708 error("%s:%lu: invalid line", path, linenum); in parse_principals_key_and_options()
729 __func__, path, linenum, required_principal); in parse_principals_key_and_options()
741 error("%s:%lu: invalid options", path, linenum); in parse_principals_key_and_options()
748 error("%s:%lu: invalid key", path, linenum); in parse_principals_key_and_options()
753 debug3("%s:%lu: options %s", path, linenum, opts == NULL ? "" : opts); in parse_principals_key_and_options()
754 if ((sigopts = sshsigopt_parse(opts, path, linenum, &reason)) == NULL) { in parse_principals_key_and_options()
755 error("%s:%lu: bad options: %s", path, linenum, reason); in parse_principals_key_and_options()
781 check_allowed_keys_line(const char *path, u_long linenum, char *line, in check_allowed_keys_line() argument
791 if ((r = parse_principals_key_and_options(path, linenum, line, in check_allowed_keys_line()
801 "namespace \"%s\"", path, linenum, sig_namespace); in check_allowed_keys_line()
807 debug("%s:%lu: matched key and principal", path, linenum); in check_allowed_keys_line()
816 path, linenum, reason); in check_allowed_keys_line()
819 debug("%s:%lu: matched certificate CA key", path, linenum); in check_allowed_keys_line()
839 u_long linenum = 0; in sshsig_check_allowed_keys() local
852 linenum++; in sshsig_check_allowed_keys()
853 r = check_allowed_keys_line(path, linenum, line, sign_key, in sshsig_check_allowed_keys()
873 cert_filter_principals(const char *path, u_long linenum, in cert_filter_principals() argument
892 "contains wildcards", path, linenum, cp); in cert_filter_principals()
899 path, linenum, cp, reason); in cert_filter_principals()
909 error("%s:%lu: no valid principals found", path, linenum); in cert_filter_principals()
927 get_matching_principals_from_line(const char *path, u_long linenum, char *line, in get_matching_principals_from_line() argument
939 if ((r = parse_principals_key_and_options(path, linenum, line, in get_matching_principals_from_line()
947 debug("%s:%lu: matched key", path, linenum); in get_matching_principals_from_line()
953 if ((r = cert_filter_principals(path, linenum, in get_matching_principals_from_line()
957 path, linenum, ssh_err(r)); in get_matching_principals_from_line()
960 debug("%s:%lu: matched certificate CA key", path, linenum); in get_matching_principals_from_line()
985 u_long linenum = 0; in sshsig_find_principals() local
997 linenum++; in sshsig_find_principals()
998 r = get_matching_principals_from_line(path, linenum, line, in sshsig_find_principals()