Home
last modified time | relevance | path

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

/openssl/crypto/cmp/
H A Dcmp_msg.c274 X509 *refcert = ctx->oldCert != NULL ? ctx->oldCert : ctx->cert; in OSSL_CMP_CTX_setup_CRM() local
279 refcert != NULL ? X509_get_subject_name(refcert) : NULL; in OSSL_CMP_CTX_setup_CRM()
281 const X509_NAME *issuer = ctx->issuer != NULL || refcert == NULL in OSSL_CMP_CTX_setup_CRM()
283 : X509_get_issuer_name(refcert); in OSSL_CMP_CTX_setup_CRM()
294 if (for_KUR && refcert == NULL && ctx->p10CSR == NULL) { in OSSL_CMP_CTX_setup_CRM()
327 if (!ctx->SubjectAltName_nodefault && !HAS_SAN(ctx) && refcert != NULL in OSSL_CMP_CTX_setup_CRM()
328 && (default_sans = X509V3_get_d2i(X509_get0_extensions(refcert), in OSSL_CMP_CTX_setup_CRM()
350 if (for_KUR && refcert != NULL) { in OSSL_CMP_CTX_setup_CRM()
352 OSSL_CRMF_CERTID_gen(X509_get_issuer_name(refcert), in OSSL_CMP_CTX_setup_CRM()
353 X509_get0_serialNumber(refcert)); in OSSL_CMP_CTX_setup_CRM()
/openssl/apps/lib/
H A Dcmp_mock_srv.c235 static int refcert_cmp(const X509 *refcert, in refcert_cmp() argument
241 if (refcert == NULL) in refcert_cmp()
243 ref_issuer = X509_get_issuer_name(refcert); in refcert_cmp()
244 ref_serial = X509_get0_serialNumber(refcert); in refcert_cmp()

Completed in 14 milliseconds