Lines Matching refs:reason
176 const char *reason = NULL; in auth_check_principals_line() local
199 if ((opts = sshauthopt_parse(line_opts, &reason)) == NULL) { in auth_check_principals_line()
200 debug("%s: bad principals options: %s", loc, reason); in auth_check_principals_line()
201 auth_debug_add("%s: bad principals options: %s", loc, reason); in auth_check_principals_line()
271 const char *reason = NULL; in auth_check_authkey_line() local
289 reason = "invalid key option string"; in auth_check_authkey_line()
300 if ((keyopts = sshauthopt_parse(key_options, &reason)) == NULL) { in auth_check_authkey_line()
301 debug("%s: bad key options: %s", loc, reason); in auth_check_authkey_line()
302 auth_debug_add("%s: bad key options: %s", loc, reason); in auth_check_authkey_line()
327 reason = "Refused by key options"; in auth_check_authkey_line()
345 reason = "Invalid certificate options"; in auth_check_authkey_line()
350 reason = "Refused by certificate options"; in auth_check_authkey_line()
353 if ((finalopts = sshauthopt_merge(keyopts, certopts, &reason)) == NULL) in auth_check_authkey_line()
363 reason = "Certificate does not contain an authorized principal"; in auth_check_authkey_line()
368 &reason) != 0) in auth_check_authkey_line()
389 error("%s", reason); in auth_check_authkey_line()
390 auth_debug_add("%s", reason); in auth_check_authkey_line()