diff 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
line wrap: on
line diff
--- a/OrthancServer/UnitTestsSources/VersionsTests.cpp	Tue Jun 22 07:09:34 2021 +0200
+++ b/OrthancServer/UnitTestsSources/VersionsTests.cpp	Tue Jun 22 07:17:43 2021 +0200
@@ -177,9 +177,7 @@
 #if ORTHANC_ENABLE_SSL == 1
 TEST(Version, OpenSslStatic)
 {
-  ASSERT_TRUE(OPENSSL_VERSION_NUMBER == 0x1000210fL /* openssl-1.0.2p */ ||
-              OPENSSL_VERSION_NUMBER == 0x101010bfL /* openssl-1.1.1k */ ||
-              OPENSSL_VERSION_NUMBER == 0x3000000fL /* openssl-3.0.0 */);
+  ASSERT_EQ(0x3000000fL /* openssl-3.0.0 */, OPENSSL_VERSION_NUMBER);
 }
 #endif