# HG changeset patch # User Sebastien Jodogne # Date 1625557935 -7200 # Node ID a6b7c29f5118fa1d76153af16675be3f1a22b0b2 # Parent c1d6ce00be3f2b2a8b53bff0fea21b9ac7ffe359 compiler warning about openssl license diff -r c1d6ce00be3f -r a6b7c29f5118 OrthancFramework/Sources/HttpServer/HttpServer.cpp --- a/OrthancFramework/Sources/HttpServer/HttpServer.cpp Tue Jul 06 08:40:43 2021 +0200 +++ b/OrthancFramework/Sources/HttpServer/HttpServer.cpp Tue Jul 06 09:52:15 2021 +0200 @@ -72,6 +72,11 @@ #if ORTHANC_ENABLE_SSL == 1 # include # include + +# 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 + #endif #define ORTHANC_REALM "Orthanc Secure Area" diff -r c1d6ce00be3f -r a6b7c29f5118 OrthancFramework/Sources/Pkcs11.cpp --- 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 +#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 { diff -r c1d6ce00be3f -r a6b7c29f5118 OrthancFramework/Sources/Toolbox.cpp --- a/OrthancFramework/Sources/Toolbox.cpp Tue Jul 06 08:40:43 2021 +0200 +++ b/OrthancFramework/Sources/Toolbox.cpp Tue Jul 06 09:52:15 2021 +0200 @@ -92,6 +92,11 @@ # include # include # include + +# 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 + #endif