Mercurial > hg > orthanc
diff UnitTestsSources/VersionsTests.cpp @ 2136:dd609a99d39a
uniformization of the macro naming
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 14:08:05 +0100 |
parents | 4e72929c0722 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/UnitTestsSources/VersionsTests.cpp Wed Nov 09 13:42:33 2016 +0100 +++ b/UnitTestsSources/VersionsTests.cpp Wed Nov 09 14:08:05 2016 +0100 @@ -44,7 +44,7 @@ #include <lua.h> #include <jpeglib.h> -#if ORTHANC_SSL_ENABLED == 1 +#if ORTHANC_ENABLE_SSL == 1 #include <openssl/opensslv.h> #endif @@ -130,7 +130,7 @@ // Check that SSL support is enabled when required bool curlSupportsSsl = (vinfo->features & CURL_VERSION_SSL) != 0; -#if ORTHANC_SSL_ENABLED == 0 +#if ORTHANC_ENABLE_SSL == 0 ASSERT_FALSE(curlSupportsSsl); #else ASSERT_TRUE(curlSupportsSsl); @@ -143,7 +143,7 @@ } -#if ORTHANC_SSL_ENABLED == 1 +#if ORTHANC_ENABLE_SSL == 1 TEST(Version, OpenSslStatic) { ASSERT_EQ(0x1000204fL /* openssl-1.0.2d */, OPENSSL_VERSION_NUMBER);