Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.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 | ddc75c6c712d |
children | 595cf22b3e7e |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Wed Nov 09 13:42:33 2016 +0100 +++ b/Core/HttpServer/MongooseServer.cpp Wed Nov 09 14:08:05 2016 +0100 @@ -49,7 +49,7 @@ #include <stdio.h> #include <boost/thread.hpp> -#if ORTHANC_SSL_ENABLED == 1 +#if ORTHANC_ENABLE_SSL == 1 #include <openssl/opensslv.h> #endif @@ -874,7 +874,7 @@ httpCompression_ = true; exceptionFormatter_ = NULL; -#if ORTHANC_SSL_ENABLED == 1 +#if ORTHANC_ENABLE_SSL == 1 // Check for the Heartbleed exploit // https://en.wikipedia.org/wiki/OpenSSL#Heartbleed_bug if (OPENSSL_VERSION_NUMBER < 0x1000107fL /* openssl-1.0.1g */ && @@ -975,7 +975,7 @@ { Stop(); -#if ORTHANC_SSL_ENABLED == 0 +#if ORTHANC_ENABLE_SSL == 0 if (enabled) { throw OrthancException(ErrorCode_SslDisabled);