Lines Matching defs:cch
429 CMS_CertificateChoices *cch;
437 cch = M_ASN1_new_of(CMS_CertificateChoices);
438 if (!cch)
440 if (!sk_CMS_CertificateChoices_push(*pcerts, cch)) {
441 M_ASN1_free_of(cch, CMS_CertificateChoices);
444 return cch;
449 CMS_CertificateChoices *cch;
456 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
457 if (cch->type == CMS_CERTCHOICE_CERT) {
458 if (!X509_cmp(cch->d.certificate, cert)) {
465 cch = CMS_add0_CertificateChoices(cms);
466 if (!cch)
468 cch->type = CMS_CERTCHOICE_CERT;
469 cch->d.certificate = cert;
545 CMS_CertificateChoices *cch;
552 cch = sk_CMS_CertificateChoices_value(*pcerts, i);
553 if (cch->type == 0) {
559 if (!sk_X509_push(certs, cch->d.certificate)) {
563 CRYPTO_add(&cch->d.certificate->references, 1, CRYPTO_LOCK_X509);