Home
last modified time | relevance | path

Searched refs:foundextn (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dcsrcrlop.c261 KMF_X509_EXTENSION *foundextn; in kmf_add_csr_eku() local
275 foundextn = FindExtn(&CSRData->csr.extensions, in kmf_add_csr_eku()
277 if (foundextn != NULL) { in kmf_add_csr_eku()
278 ret = GetSequenceContents((char *)foundextn->BERvalue.Data, in kmf_add_csr_eku()
279 foundextn->BERvalue.Length, &olddata, &oldsize); in kmf_add_csr_eku()
286 ret = parse_eku_data(&foundextn->BERvalue, &ekudata); in kmf_add_csr_eku()
324 if (foundextn != NULL) { in kmf_add_csr_eku()
325 free(foundextn->BERvalue.Data); in kmf_add_csr_eku()
326 foundextn->critical = critical; in kmf_add_csr_eku()
327 foundextn->BERvalue.Data = (uchar_t *)extdata->bv_val; in kmf_add_csr_eku()
[all …]
H A Dgeneralop.c2052 KMF_X509_EXTENSION *foundextn = NULL; in FindExtn() local
2060 foundextn = &exts->extensions[i]; in FindExtn()
2064 return (foundextn); in FindExtn()
2175 KMF_X509_EXTENSION *foundextn = NULL; in kmf_set_altname() local
2194 foundextn = FindExtn(extensions, oid); in kmf_set_altname()
2196 if (foundextn != NULL) { in kmf_set_altname()
2198 (char *)foundextn->BERvalue.Data, in kmf_set_altname()
2199 foundextn->BERvalue.Length, in kmf_set_altname()
2244 if (foundextn != NULL) { in kmf_set_altname()
2245 free(foundextn->BERvalue.Data); in kmf_set_altname()
[all …]
H A Dcertgetsetop.c2076 KMF_X509_EXTENSION *foundextn; in kmf_add_cert_eku() local
2090 foundextn = FindExtn(&CertData->certificate.extensions, in kmf_add_cert_eku()
2092 if (foundextn != NULL) { in kmf_add_cert_eku()
2093 ret = GetSequenceContents((char *)foundextn->BERvalue.Data, in kmf_add_cert_eku()
2094 foundextn->BERvalue.Length, &olddata, &oldsize); in kmf_add_cert_eku()
2101 ret = parse_eku_data(&foundextn->BERvalue, &ekudata); in kmf_add_cert_eku()
2139 if (foundextn != NULL) { in kmf_add_cert_eku()
2140 free(foundextn->BERvalue.Data); in kmf_add_cert_eku()
2141 foundextn->critical = critical; in kmf_add_cert_eku()
2142 foundextn->BERvalue.Data = (uchar_t *)extdata->bv_val; in kmf_add_cert_eku()
[all …]