diff OrthancFramework/Sources/Pkcs11.cpp @ 4741:a6b7c29f5118 openssl-3.x

compiler warning about openssl license
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 06 Jul 2021 09:52:15 +0200
parents d9473bd5ed43
children 2e71a08eea15
line wrap: on
line diff
--- a/OrthancFramework/Sources/Pkcs11.cpp	Tue Jul 06 08:40:43 2021 +0200
+++ b/OrthancFramework/Sources/Pkcs11.cpp	Tue Jul 06 09:52:15 2021 +0200
@@ -41,6 +41,10 @@
 
 #include <openssl/engine.h>
 
+#if OPENSSL_VERSION_NUMBER < 0x30000000L
+#  warning You are linking Orthanc against OpenSSL 1.x, whose license is incompatible with the GPLv3+ used by Orthanc. Please update to OpenSSL 3.x, that uses the Apache 2 license.
+#endif
+
 
 namespace Orthanc
 {