Searched refs:upns (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_srv.c | 174 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 D | pkinit_crypto_openssl.c | 1823 krb5_principal *upns = NULL; in crypto_retrieve_X509_sans() local 1867 upns = calloc(num_sans + 1, sizeof(krb5_principal)); in crypto_retrieve_X509_sans() 1868 if (upns == NULL) { in crypto_retrieve_X509_sans() 1904 } else if (upns != NULL in crypto_retrieve_X509_sans() 1907 ret = krb5_parse_name(context, name.data, &upns[u]); in crypto_retrieve_X509_sans() 1948 if (upns) in crypto_retrieve_X509_sans() 1949 *upn_ret = upns; in crypto_retrieve_X509_sans() 1960 if (upns != NULL) { in crypto_retrieve_X509_sans() 1961 for (i = 0; upns[i] != NULL; i++) in crypto_retrieve_X509_sans() 1962 krb5_free_principal(context, upns[i]); in crypto_retrieve_X509_sans() [all …]
|