Lines Matching refs:cert
98 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md, X509 *issuer,
140 X509 *issuer = NULL, *cert = NULL;
436 else if (!strcmp (*args, "-cert"))
441 X509_free(cert);
442 cert = load_cert(bio_err, *args, FORMAT_PEM,
444 if(!cert) goto end;
446 if(!add_ocsp_cert(&req, cert, cert_id_md, issuer, ids))
578 BIO_printf (bio_err, "-cert file certificate to check\n");
907 X509_free(cert);
933 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md,X509 *issuer,
944 id = OCSP_cert_to_id(cert_id_md, cert, issuer);