Home
last modified time | relevance | path

Searched refs:upns (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_srv.c174 krb5_principal *upns = NULL; in verify_client_san() local
183 plgctx->opts->allow_upn ? &upns : NULL, in verify_client_san()
193 upns, NULL, &plugin_decision, &ignore); in verify_client_san()
232 if (upns == NULL) { in verify_client_san()
240 for (i = 0; upns[i] != NULL; i++) { in verify_client_san()
242 krb5_unparse_name(context, upns[i], &san_string); in verify_client_san()
247 if (krb5_principal_compare(context, upns[i], client)) { in verify_client_san()
257 if (princs != NULL || upns != NULL) { in verify_client_san()
271 if (upns != NULL) { in verify_client_san()
272 for (i = 0; upns[i] != NULL; i++) in verify_client_san()
[all …]
H A Dpkinit_crypto_openssl.c1949 krb5_principal *upns = NULL; in crypto_retrieve_X509_sans() local
1993 upns = calloc(num_sans + 1, sizeof(krb5_principal)); in crypto_retrieve_X509_sans()
1994 if (upns == NULL) { in crypto_retrieve_X509_sans()
2030 } else if (upns != NULL in crypto_retrieve_X509_sans()
2033 ret = krb5_parse_name(context, name.data, &upns[u]); in crypto_retrieve_X509_sans()
2074 if (upns) in crypto_retrieve_X509_sans()
2075 *upn_ret = upns; in crypto_retrieve_X509_sans()
2086 if (upns != NULL) { in crypto_retrieve_X509_sans()
2087 for (i = 0; upns[i] != NULL; i++) in crypto_retrieve_X509_sans()
2088 krb5_free_principal(context, upns[i]); in crypto_retrieve_X509_sans()
[all …]