From 5d52abc236226c5a47c36b07e2256e77141e373a Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 25 Jan 2025 17:59:44 +0000 Subject: Remove #error if OPENSSL_NO_FOO is defined discussed with jsing --- src/lib/libcrypto/sha/sha.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/sha') diff --git a/src/lib/libcrypto/sha/sha.h b/src/lib/libcrypto/sha/sha.h index cef2d7f497..ec97f48b2e 100644 --- a/src/lib/libcrypto/sha/sha.h +++ b/src/lib/libcrypto/sha/sha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sha.h,v 1.25 2024/06/01 08:11:44 tb Exp $ */ +/* $OpenBSD: sha.h,v 1.26 2025/01/25 17:59:44 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -70,10 +70,6 @@ extern "C" { #endif -#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA1) -#error SHA is disabled. -#endif - /* * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * ! SHA_LONG has to be at least 32 bits wide. ! -- cgit v1.2.3-55-g6feb