Mercurial > hg > orthanc
diff Core/HttpServer/MongooseServer.cpp @ 1674:4fc502d469f4 db-changes
fix build if SSL is disabled
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 02 Oct 2015 13:31:39 +0200 |
parents | 8040d56cb0b3 |
children | 0ef4e6e66b56 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp Fri Oct 02 13:26:05 2015 +0200 +++ b/Core/HttpServer/MongooseServer.cpp Fri Oct 02 13:31:39 2015 +0200 @@ -931,7 +931,7 @@ #if ORTHANC_SSL_ENABLED == 0 if (enabled) { - throw OrthancException("Orthanc has been built without SSL support"); + throw OrthancException(ErrorCode_SslDisabled); } else {