Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / boringssl / src / crypto / x509 / x_crl.c
index 2f77fd7..21785dc 100644 (file)
@@ -234,9 +234,7 @@ static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
                break;
 
                case ASN1_OP_D2I_POST:
-#ifndef OPENSSL_NO_SHA
                X509_CRL_digest(crl, EVP_sha1(), crl->sha1_hash, NULL);
-#endif
                crl->idp = X509_CRL_get_ext_d2i(crl,
                                NID_issuing_distribution_point, NULL, NULL);
                if (crl->idp)