Lines Matching defs:cert
59 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert,
157 {"rcid", OPT_RCID, 's', "Use specified algorithm for cert id in response"},
199 {"cert", OPT_CERT, '<', "Certificate to check"},
230 X509 *issuer = NULL, *cert = NULL;
439 X509_free(cert);
440 cert = load_cert(opt_arg(), FORMAT_UNDEF, "certificate");
441 if (cert == NULL)
445 if (!add_ocsp_cert(&req, cert, cert_id_md, issuer, ids))
517 "%s: Digest must be before -cert or -serial\n",
543 BIO_printf(bio_err, "%s: Digest must be before -cert or -serial\n",
860 X509_free(cert);
903 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert,
917 id = OCSP_cert_to_id(cert_id_md, cert, issuer);