From 5ce38c90cf43ee79cd999716ea83a5a44eeb819e Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Tue, 28 Jul 2015 11:46:38 -0400 Subject: Update openssl to 1.0.2d Also update Cryptlib to edk2 r17731 Signed-off-by: Gary Ching-Pang Lin --- Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Cryptlib/OpenSSL/crypto/ocsp/ocsp_cl.c') 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, -- cgit v1.2.3