Lines Matching refs:loc
57 const char *loc) in auth_authorise_keyopts() argument
69 debug("%s: entry expired at %s", loc, buf); in auth_authorise_keyopts()
70 auth_debug_add("%s: entry expired at %s", loc, buf); in auth_authorise_keyopts()
75 debug("%s: principals on non-CA key", loc); in auth_authorise_keyopts()
76 auth_debug_add("%s: principals on non-CA key", loc); in auth_authorise_keyopts()
82 debug("%s: cert-authority flag invalid here", loc); in auth_authorise_keyopts()
83 auth_debug_add("%s: cert-authority flag invalid here", loc); in auth_authorise_keyopts()
97 debug("%s: invalid from criteria", loc); in auth_authorise_keyopts()
98 auth_debug_add("%s: invalid from criteria", loc); in auth_authorise_keyopts()
104 loc, pw->pw_name, remote_host, remote_ip, in auth_authorise_keyopts()
108 loc, remote_host); in auth_authorise_keyopts()
123 error("%s: Certificate source-address invalid", loc); in auth_authorise_keyopts()
128 "address (%.200s).", loc, pw->pw_name, remote_ip); in auth_authorise_keyopts()
131 loc, remote_ip); in auth_authorise_keyopts()
141 auth_log_authopts(loc, opts, 1); in auth_authorise_keyopts()
173 const char *loc, struct sshauthopt **authoptsp) in auth_check_principals_line() argument
201 debug("%s: bad principals options: %s", loc, reason); in auth_check_principals_line()
202 auth_debug_add("%s: bad principals options: %s", loc, reason); in auth_check_principals_line()
210 loc, cert->principals[i]); in auth_check_principals_line()
225 char loc[256], *line = NULL, *cp, *ep; in auth_process_principals() local
249 snprintf(loc, sizeof(loc), "%.200s:%lu", file, linenum); in auth_process_principals()
250 if (auth_check_principals_line(cp, cert, loc, authoptsp) == 0) in auth_process_principals()
265 char *cp, const char *remote_ip, const char *remote_host, const char *loc, in auth_check_authkey_line() argument
287 debug2("%s: check options: '%s'", loc, cp); in auth_check_authkey_line()
296 debug2("%s: advance: '%s'", loc, cp); in auth_check_authkey_line()
302 debug("%s: bad key options: %s", loc, reason); in auth_check_authkey_line()
303 auth_debug_add("%s: bad key options: %s", loc, reason); in auth_check_authkey_line()
323 debug("%s: matching %s found: %s %s", loc, in auth_check_authkey_line()
327 sshkey_is_cert(key), remote_ip, remote_host, loc) != 0) { in auth_check_authkey_line()
334 sshkey_type(found), fp, loc); in auth_check_authkey_line()
350 remote_ip, remote_host, loc) != 0) { in auth_check_authkey_line()
376 sshkey_type(found), fp, loc); in auth_check_authkey_line()
410 char *cp, *line = NULL, loc[256]; in auth_check_authkeys_file() local
431 snprintf(loc, sizeof(loc), "%.200s:%lu", file, linenum); in auth_check_authkeys_file()
433 remote_ip, remote_host, loc, authoptsp) == 0) in auth_check_authkeys_file()