summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c')
-rw-r--r--Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c b/Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c
index bbb1830b..b3612c8d 100644
--- a/Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c
+++ b/Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c
@@ -162,8 +162,6 @@ int OCSP_request_sign(OCSP_REQUEST *req,
if (!(req->optionalSignature = sig = OCSP_SIGNATURE_new()))
goto err;
- if (!dgst)
- dgst = EVP_sha1();
if (key) {
if (!X509_check_private_key(signer, key)) {
OCSPerr(OCSP_F_OCSP_REQUEST_SIGN,