Mercurial > hg > orthanc
comparison OrthancServer/UnitTestsSources/VersionsTests.cpp @ 4866:a02f58240e8a openssl-3.x
fix unit test Version.OpenSslStatic
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 25 Dec 2021 11:08:58 +0100 |
parents | d1aae7c3dd5d |
children | 6eff25f70121 |
comparison
equal
deleted
inserted
replaced
4865:9adb28193a8a | 4866:a02f58240e8a |
---|---|
164 | 164 |
165 | 165 |
166 #if ORTHANC_ENABLE_SSL == 1 | 166 #if ORTHANC_ENABLE_SSL == 1 |
167 TEST(Version, OpenSslStatic) | 167 TEST(Version, OpenSslStatic) |
168 { | 168 { |
169 ASSERT_EQ(0x3000100fL /* openssl-3.0.1 */, OPENSSL_VERSION_NUMBER); | 169 // openssl-3.0.1 |
170 ASSERT_EQ(3 * 0x10000000L + | |
171 0 * 0x00100000L + | |
172 1 * 0x00000010L + | |
173 0 * 0x0000000fL, OPENSSL_VERSION_NUMBER); | |
170 } | 174 } |
171 #endif | 175 #endif |
172 | 176 |
173 | 177 |
174 #include <json/version.h> | 178 #include <json/version.h> |