From fe3cf427f561d5e9ceae516639f74100d28aad9a Mon Sep 17 00:00:00 2001 From: Songling Han Date: Sat, 21 Sep 2024 11:05:34 +0000 Subject: [PATCH] Fix build for OQS_DLOPEN_OPENSSL Signed-off-by: Songling Han --- src/common/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/common.h b/src/common/common.h index 813e0a13a..65d24e8b5 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -27,7 +27,7 @@ extern "C" { * using OpenSSL functions when OQS_USE_OPENSSL is defined, and * standard C library functions otherwise. */ -#if defined(OQS_USE_OPENSSL) && defined(OPENSSL_VERSION_NUMBER) +#if (defined(OQS_USE_OPENSSL) || defined(OQS_DLOPEN_OPENSSL)) && defined(OPENSSL_VERSION_NUMBER) #include /**