X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Focsp%2Focsp_cl.c;h=9c14d9da273f9869d0b9fcbeb89e6b7e9630f3ce;hb=c58de759c8700de4fbf26eff0053a87f48db6fb2;hp=17bab5fc59c7e3777e7a86398de4a95536e2e2b6;hpb=c755c5fd8ba5771691451e9d1b163544fdadb7ec;p=oweals%2Fopenssl.git diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c index 17bab5fc59..9c14d9da27 100644 --- a/crypto/ocsp/ocsp_cl.c +++ b/crypto/ocsp/ocsp_cl.c @@ -155,7 +155,6 @@ int OCSP_request_sign(OCSP_REQUEST *req, goto err; if (!(req->optionalSignature = sig = OCSP_SIGNATURE_new())) goto err; - if (!dgst) dgst = EVP_sha1(); if (key) { if (!X509_check_private_key(signer, key))