Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1673:0bbcfd9695e5 | 1674:4fc502d469f4 |
---|---|
929 Stop(); | 929 Stop(); |
930 | 930 |
931 #if ORTHANC_SSL_ENABLED == 0 | 931 #if ORTHANC_SSL_ENABLED == 0 |
932 if (enabled) | 932 if (enabled) |
933 { | 933 { |
934 throw OrthancException("Orthanc has been built without SSL support"); | 934 throw OrthancException(ErrorCode_SslDisabled); |
935 } | 935 } |
936 else | 936 else |
937 { | 937 { |
938 ssl_ = false; | 938 ssl_ = false; |
939 } | 939 } |