1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-09-19 09:51:28 +03:00

compat: do not enable OQS on OpenSSL >= 4.0.0

OpenSSL 4.0.0 is shipped with MLKEM, no need to add Kyber separately
This commit is contained in:
Ilia Shipitsin
2026-08-22 20:03:13 +02:00
parent ce4f3c4629
commit 2dc42e0400
+1 -1
View File
@@ -18,7 +18,7 @@ set_target_properties(mayaqua
find_package(OpenSSL REQUIRED)
if(OPENSSL_VERSION VERSION_GREATER_EQUAL "3")
if(OPENSSL_VERSION VERSION_GREATER_EQUAL "3.0.0" AND OPENSSL_VERSION VERSION_LESS "4.0.0")
set(OQS_ENABLE ON CACHE BOOL "By setting this to OFF, Open Quantum Safe algorithms will not be built in")
else()
# Disable oqsprovider when OpenSSL version < 3