Home
last modified time | relevance | path

Searched refs:cert_principals (Results 1 – 6 of 6) sorted by relevance

/external/openssh/
Dauth-options.c208 free(opts->cert_principals); in sshauthopt_free()
367 if (ret->cert_principals != NULL) { in sshauthopt_parse()
371 ret->cert_principals = opt_dequote(&opts, &errstr); in sshauthopt_parse()
372 if (ret->cert_principals == NULL) in sshauthopt_parse()
660 OPTSTRING(cert_principals); in sshauthopt_copy()
799 untrusted ? "yes" : opts->cert_principals)) != 0 || in sshauthopt_serialise()
860 if ((r = deserialise_nullable_string(m, &opts->cert_principals)) != 0 || in sshauthopt_deserialise()
Dauth-options.h48 char *cert_principals; member
Dssh-keygen.c116 static char *cert_principals = NULL; variable
1782 if (cert_principals != NULL) { in do_ca_sign()
1783 otmp = tmp = xstrdup(cert_principals); in do_ca_sign()
1859 cert_principals != NULL ? " for " : "", in do_ca_sign()
1860 cert_principals != NULL ? cert_principals : "", in do_ca_sign()
3189 cert_principals = optarg; in main()
3346 if (cert_principals == NULL || in main()
3347 *cert_principals == '\0') { in main()
3357 return sig_sign(identity_file, cert_principals, in main()
3365 return sig_verify(ca_key_path, cert_principals, in main()
[all …]
Dauth.c1025 opts->cert_principals == NULL ? "" : " principals", in auth_log_authopts()
1052 if (opts->cert_principals != NULL) { in auth_log_authopts()
1054 loc, opts->cert_principals); in auth_log_authopts()
1127 if (opts->cert_principals != NULL && !opts->cert_authority) { in auth_authorise_keyopts()
Dauth2-pubkey.c669 if (keyopts->cert_principals != NULL && in check_authkey_line()
670 !match_principals_option(keyopts->cert_principals, key->cert)) { in check_authkey_line()
675 keyopts->cert_principals == NULL ? pw->pw_name : NULL, &reason) != 0) in check_authkey_line()
/external/openssh/regress/unittests/authopt/
Dtests.c112 STR_EQ(cert_principals); in compare_opts()
245 STRING_TEST("principals", cert_principals, "gregor,josef,K"); in test_authkeys_parse()