Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.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 | dbee8bd8ee1f |
children | 2e71a08eea15 |
line wrap: on
line diff
--- 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 <openssl/err.h> # include <openssl/evp.h> # include <openssl/ssl.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 + #endif