Lines Matching refs:cch
444 CMS_CertificateChoices *cch;
452 cch = M_ASN1_new_of(CMS_CertificateChoices);
453 if (!cch)
455 if (!sk_CMS_CertificateChoices_push(*pcerts, cch))
457 M_ASN1_free_of(cch, CMS_CertificateChoices);
460 return cch;
465 CMS_CertificateChoices *cch;
475 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
476 if (cch->type == CMS_CERTCHOICE_CERT)
478 if (!X509_cmp(cch->d.certificate, cert))
486 cch = CMS_add0_CertificateChoices(cms);
487 if (!cch)
489 cch->type = CMS_CERTCHOICE_CERT;
490 cch->d.certificate = cert;
567 CMS_CertificateChoices *cch;
575 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
576 if (cch->type == 0)
584 if (!sk_X509_push(certs, cch->d.certificate))
589 CRYPTO_add(&cch->d.certificate->references,