comparison 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
comparison
equal deleted inserted replaced
4740:c1d6ce00be3f 4741:a6b7c29f5118
90 # include <openssl/conf.h> 90 # include <openssl/conf.h>
91 # include <openssl/engine.h> 91 # include <openssl/engine.h>
92 # include <openssl/err.h> 92 # include <openssl/err.h>
93 # include <openssl/evp.h> 93 # include <openssl/evp.h>
94 # include <openssl/ssl.h> 94 # include <openssl/ssl.h>
95
96 # if OPENSSL_VERSION_NUMBER < 0x30000000L
97 # 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.
98 # endif
99
95 #endif 100 #endif
96 101
97 102
98 #if defined(_MSC_VER) && (_MSC_VER < 1800) 103 #if defined(_MSC_VER) && (_MSC_VER < 1800)
99 // Patch for the missing "_strtoll" symbol when compiling with Visual Studio < 2013 104 // Patch for the missing "_strtoll" symbol when compiling with Visual Studio < 2013