comparison OrthancServer/UnitTestsSources/VersionsTests.cpp @ 5228:993a6b23f032

upgraded to openssl 3.1.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Apr 2023 09:46:09 +0200
parents 0ea402b4d901
children 34781fb0172a
comparison
equal deleted inserted replaced
5225:5874e5dd9a38 5228:993a6b23f032
165 165
166 166
167 #if ORTHANC_ENABLE_SSL == 1 167 #if ORTHANC_ENABLE_SSL == 1
168 TEST(Version, OpenSslStatic) 168 TEST(Version, OpenSslStatic)
169 { 169 {
170 // openssl-3.0.5 170 // openssl-3.1.0
171 ASSERT_EQ(3 * 0x10000000L + 171 // https://www.openssl.org/docs/man3.0/man3/OPENSSL_VERSION_NUMBER.html
172 0 * 0x00100000L + 172 ASSERT_EQ(3 /* major */ * 0x10000000L +
173 1 * 0x00000050L + 173 1 /* minor */ * 0x00100000L +
174 0 * 0x0000000fL, OPENSSL_VERSION_NUMBER); 174 0 /* patch */ * 0x00000010L, OPENSSL_VERSION_NUMBER);
175 } 175 }
176 #endif 176 #endif
177 177
178 178
179 #include <json/version.h> 179 #include <json/version.h>