Home
last modified time | relevance | path

Searched refs:oldCert (Results 1 – 7 of 7) sorted by relevance

/openssl/fuzz/
H A Dcmp.c59 ctx->oldCert = X509_new(); /* satisfy crm_new() and ossl_cmp_rr_new() */ in cmp_client_process_response()
62 || ctx->oldCert == NULL in cmp_client_process_response()
63 || name == NULL || !X509_set_issuer_name(ctx->oldCert, name) in cmp_client_process_response()
64 || serial == NULL || !X509_set_serialNumber(ctx->oldCert, serial)) in cmp_client_process_response()
/openssl/crypto/cmp/
H A Dcmp_hdr.c290 ctx->oldCert != NULL ? X509_get_subject_name(ctx->oldCert) : in ossl_cmp_hdr_init()
303 else if (ctx->oldCert != NULL) in ossl_cmp_hdr_init()
304 rcp = X509_get_issuer_name(ctx->oldCert); in ossl_cmp_hdr_init()
H A Dcmp_msg.c274 X509 *refcert = ctx->oldCert != NULL ? ctx->oldCert : ctx->cert; in OSSL_CMP_CTX_setup_CRM()
529 && (ctx->oldCert != NULL || ctx->p10CSR != NULL in ossl_cmp_rr_new()
539 } else if (ctx->oldCert != NULL) { in ossl_cmp_rr_new()
540 issuer = X509_get_issuer_name(ctx->oldCert); in ossl_cmp_rr_new()
541 serialNumber = X509_get0_serialNumber(ctx->oldCert); in ossl_cmp_rr_new()
H A Dcmp_ctx.c241 X509_free(ctx->oldCert); in OSSL_CMP_CTX_free()
732 DEFINE_OSSL_set1_up_ref(OSSL_CMP_CTX, oldCert, X509) in DEFINE_OSSL_set1_up_ref() argument
793 if (ctx->oldCert != NULL) in ossl_cmp_ctx_get0_newPubkey()
794 return X509_get0_pubkey(ctx->oldCert); in ossl_cmp_ctx_get0_newPubkey()
H A Dcmp_local.h120 X509 *oldCert; /* cert to be updated (via KUR) or to be revoked (via RR) */ member
H A Dcmp_client.c910 if (ctx->oldCert == NULL && ctx->p10CSR == NULL in OSSL_CMP_exec_RR_ses()
/openssl/test/
H A Dcmp_ctx_test.c793 DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 0, oldCert, X509) in DEFINE_SET_CB_TEST()

Completed in 21 milliseconds