Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/UnitTestsSources/VersionsTests.cpp Mon Apr 03 22:31:32 2023 +0200 +++ b/OrthancServer/UnitTestsSources/VersionsTests.cpp Tue Apr 04 09:46:09 2023 +0200 @@ -167,11 +167,11 @@ #if ORTHANC_ENABLE_SSL == 1 TEST(Version, OpenSslStatic) { - // openssl-3.0.5 - ASSERT_EQ(3 * 0x10000000L + - 0 * 0x00100000L + - 1 * 0x00000050L + - 0 * 0x0000000fL, OPENSSL_VERSION_NUMBER); + // openssl-3.1.0 + // https://www.openssl.org/docs/man3.0/man3/OPENSSL_VERSION_NUMBER.html + ASSERT_EQ(3 /* major */ * 0x10000000L + + 1 /* minor */ * 0x00100000L + + 0 /* patch */ * 0x00000010L, OPENSSL_VERSION_NUMBER); } #endif