Mercurial > hg > orthanc
comparison OrthancFramework/Sources/HttpServer/HttpServer.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 | 57b1a36645ae |
children | 2e71a08eea15 |
comparison
equal
deleted
inserted
replaced
4740:c1d6ce00be3f | 4741:a6b7c29f5118 |
---|---|
70 #endif | 70 #endif |
71 | 71 |
72 #if ORTHANC_ENABLE_SSL == 1 | 72 #if ORTHANC_ENABLE_SSL == 1 |
73 # include <openssl/opensslv.h> | 73 # include <openssl/opensslv.h> |
74 # include <openssl/err.h> | 74 # include <openssl/err.h> |
75 | |
76 # if OPENSSL_VERSION_NUMBER < 0x30000000L | |
77 # 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. | |
78 # endif | |
79 | |
75 #endif | 80 #endif |
76 | 81 |
77 #define ORTHANC_REALM "Orthanc Secure Area" | 82 #define ORTHANC_REALM "Orthanc Secure Area" |
78 | 83 |
79 | 84 |