Lines Matching defs:cert
321 X509 *cert = NULL;
343 if (PKCS12_parse(p12, pass, &pkey, &cert, &chain)) {
359 if (ok && cert != NULL) {
360 if ((osi_cert = OSSL_STORE_INFO_new_CERT(cert)) != NULL
361 /* clearing cert here avoids case distinctions */
362 && (cert = NULL) == NULL
380 X509_free(cert);
762 X509 *cert = NULL;
766 * cert (X509 + X509_AUX) and fall back to reading it as a normal cert
768 * cert, then no fallback should be engaged. |ignore_trusted| tells if
783 cert = X509_new_ex(libctx, propq);
784 if (cert == NULL)
787 if ((d2i_X509_AUX(&cert, &blob, len)) != NULL
788 || (ignore_trusted && (d2i_X509(&cert, &blob, len)) != NULL)) {
790 store_info = OSSL_STORE_INFO_new_CERT(cert);
794 X509_free(cert);