Mercurial > hg > orthanc
comparison Core/HttpServer/MongooseServer.cpp @ 749:b8c49473be38
typo
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Apr 2014 09:45:36 +0200 |
parents | de9763f63510 |
children | 8ce2f69436ca |
comparison
equal
deleted
inserted
replaced
748:de9763f63510 | 749:b8c49473be38 |
---|---|
754 ssl_ = false; | 754 ssl_ = false; |
755 port_ = 8000; | 755 port_ = 8000; |
756 filter_ = NULL; | 756 filter_ = NULL; |
757 | 757 |
758 #if ORTHANC_SSL_ENABLED == 1 | 758 #if ORTHANC_SSL_ENABLED == 1 |
759 // Check for the Heartbeat exploit | 759 // Check for the Heartbleed exploit |
760 // https://en.wikipedia.org/wiki/OpenSSL#Heartbleed_bug | 760 // https://en.wikipedia.org/wiki/OpenSSL#Heartbleed_bug |
761 if (OPENSSL_VERSION_NUMBER < 0x1000107fL /* openssl-1.0.1g */ && | 761 if (OPENSSL_VERSION_NUMBER < 0x1000107fL /* openssl-1.0.1g */ && |
762 OPENSSL_VERSION_NUMBER >= 0x1000100fL /* openssl-1.0.1 */) | 762 OPENSSL_VERSION_NUMBER >= 0x1000100fL /* openssl-1.0.1 */) |
763 { | 763 { |
764 LOG(WARNING) << "This version of OpenSSL can be affected by the Heartbeat exploit"; | 764 LOG(WARNING) << "This version of OpenSSL is vulnerable to the Heartbleed exploit"; |
765 } | 765 } |
766 #endif | 766 #endif |
767 } | 767 } |
768 | 768 |
769 | 769 |