Lines Matching refs:certStatus
784 int ossl_cmp_certstatus_set0_certHash(OSSL_CMP_CERTSTATUS *certStatus, in ossl_cmp_certstatus_set0_certHash() argument
787 if (!ossl_assert(certStatus != NULL)) in ossl_cmp_certstatus_set0_certHash()
789 ASN1_OCTET_STRING_free(certStatus->certHash); in ossl_cmp_certstatus_set0_certHash()
790 certStatus->certHash = hash; in ossl_cmp_certstatus_set0_certHash()
798 OSSL_CMP_CERTSTATUS *certStatus = NULL; in ossl_cmp_certConf_new() local
817 if ((certStatus = OSSL_CMP_CERTSTATUS_new()) == NULL) in ossl_cmp_certConf_new()
820 if (sk_OSSL_CMP_CERTSTATUS_push(msg->body->value.certConf, certStatus) < 1) { in ossl_cmp_certConf_new()
821 OSSL_CMP_CERTSTATUS_free(certStatus); in ossl_cmp_certConf_new()
826 if (!ASN1_INTEGER_set(certStatus->certReqId, certReqId)) in ossl_cmp_certConf_new()
829 certStatus->hashAlg = NULL; in ossl_cmp_certConf_new()
840 if ((certStatus->hashAlg = X509_ALGOR_new()) == NULL) in ossl_cmp_certConf_new()
842 X509_ALGOR_set_md(certStatus->hashAlg, md); in ossl_cmp_certConf_new()
846 if (!ossl_cmp_certstatus_set0_certHash(certStatus, certHash)) in ossl_cmp_certConf_new()
861 certStatus->statusInfo = sinfo; in ossl_cmp_certConf_new()