Lines Matching defs:cch
90 CMS_CertificateChoices *cch;
102 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
103 if (cch->type == CMS_CERTCHOICE_CERT)
104 ossl_x509_set0_libctx(cch->d.certificate, libctx, propq);
492 CMS_CertificateChoices *cch;
501 cch = M_ASN1_new_of(CMS_CertificateChoices);
502 if (!cch)
504 if (!sk_CMS_CertificateChoices_push(*pcerts, cch)) {
505 M_ASN1_free_of(cch, CMS_CertificateChoices);
508 return cch;
513 CMS_CertificateChoices *cch;
521 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
522 if (cch->type == CMS_CERTCHOICE_CERT) {
523 if (!X509_cmp(cch->d.certificate, cert)) {
529 cch = CMS_add0_CertificateChoices(cms);
530 if (!cch)
532 cch->type = CMS_CERTCHOICE_CERT;
533 cch->d.certificate = cert;
617 CMS_CertificateChoices *cch;
625 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
626 if (cch->type == 0) {
627 if (!ossl_x509_add_cert_new(&certs, cch->d.certificate,