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/aes/aes.h | 6 +----- src/lib/libcrypto/aes/aes_local.h | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'src/lib/libcrypto/aes') diff --git a/src/lib/libcrypto/aes/aes.h b/src/lib/libcrypto/aes/aes.h index 702873e11c..8903a8ef8d 100644 --- a/src/lib/libcrypto/aes/aes.h +++ b/src/lib/libcrypto/aes/aes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aes.h,v 1.15 2023/07/31 05:04:06 tb Exp $ */ +/* $OpenBSD: aes.h,v 1.16 2025/01/25 17:59:44 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * @@ -54,10 +54,6 @@ #include -#ifdef OPENSSL_NO_AES -#error AES is disabled. -#endif - #include #define AES_ENCRYPT 1 diff --git a/src/lib/libcrypto/aes/aes_local.h b/src/lib/libcrypto/aes/aes_local.h index 3f134408c9..e0714df409 100644 --- a/src/lib/libcrypto/aes/aes_local.h +++ b/src/lib/libcrypto/aes/aes_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aes_local.h,v 1.3 2024/03/27 11:15:44 jsing Exp $ */ +/* $OpenBSD: aes_local.h,v 1.4 2025/01/25 17:59:44 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * @@ -54,10 +54,6 @@ #include -#ifdef OPENSSL_NO_AES -#error AES is disabled. -#endif - #include #include #include -- cgit v1.2.3-55-g6feb