Lines Matching refs:cert_id_md
98 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md, X509 *issuer,
100 static int add_ocsp_serial(OCSP_REQUEST **req, char *serial, const EVP_MD * cert_id_md, X509 *issuer,
168 const EVP_MD *cert_id_md = NULL;
455 if (!cert_id_md) cert_id_md = EVP_sha1();
456 if(!add_ocsp_cert(&req, cert, cert_id_md, issuer, ids))
468 if (!cert_id_md) cert_id_md = EVP_sha1();
469 if(!add_ocsp_serial(&req, *args, cert_id_md, issuer, ids))
571 else if ((cert_id_md = EVP_get_digestbyname((*args)+1))==NULL)
944 static int add_ocsp_cert(OCSP_REQUEST **req, X509 *cert, const EVP_MD *cert_id_md,X509 *issuer,
955 id = OCSP_cert_to_id(cert_id_md, cert, issuer);
965 static int add_ocsp_serial(OCSP_REQUEST **req, char *serial,const EVP_MD *cert_id_md, X509 *issuer,
987 id = OCSP_cert_id_new(cert_id_md, iname, ikey, sno);
1095 const EVP_MD *cert_id_md;
1101 cert_id_md = EVP_get_digestbyobj(cert_id_md_oid);
1102 if (! cert_id_md)
1109 ca_id = OCSP_cert_to_id(cert_id_md, NULL, ca);