Mercurial > hg > orthanc
comparison OrthancServer/UnitTestsSources/VersionsTests.cpp @ 4703:c832cb6ef4f9 openssl-3.x
Dropped support for static compilation of OpenSSL 1.0.2 and 1.1.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Jun 2021 07:17:43 +0200 |
parents | 312e0e29de90 |
children | f0038043fb97 |
comparison
equal
deleted
inserted
replaced
4702:312e0e29de90 | 4703:c832cb6ef4f9 |
---|---|
175 | 175 |
176 | 176 |
177 #if ORTHANC_ENABLE_SSL == 1 | 177 #if ORTHANC_ENABLE_SSL == 1 |
178 TEST(Version, OpenSslStatic) | 178 TEST(Version, OpenSslStatic) |
179 { | 179 { |
180 ASSERT_TRUE(OPENSSL_VERSION_NUMBER == 0x1000210fL /* openssl-1.0.2p */ || | 180 ASSERT_EQ(0x3000000fL /* openssl-3.0.0 */, OPENSSL_VERSION_NUMBER); |
181 OPENSSL_VERSION_NUMBER == 0x101010bfL /* openssl-1.1.1k */ || | |
182 OPENSSL_VERSION_NUMBER == 0x3000000fL /* openssl-3.0.0 */); | |
183 } | 181 } |
184 #endif | 182 #endif |
185 | 183 |
186 | 184 |
187 #include <json/version.h> | 185 #include <json/version.h> |