summaryrefslogtreecommitdiff
path: root/include/ssl_key_handler.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-11-08 02:32:12 +0300
committerEd Tanous <ed.tanous@intel.com>2017-11-08 02:32:12 +0300
commit746b22a2d73aa995dd434492b7f2b649db8c1c4d (patch)
treefdd1cf986ac0808bcd031a5fe8e25698a4d9c405 /include/ssl_key_handler.hpp
parent038c52e00db22a49f7b94eb10a94b17a31e2ed3d (diff)
downloadbmcweb-746b22a2d73aa995dd434492b7f2b649db8c1c4d.tar.xz
Update crow to improve security
Change-Id: I86146edde21bac89e6cc30afdd79690e2b0adadd
Diffstat (limited to 'include/ssl_key_handler.hpp')
-rw-r--r--include/ssl_key_handler.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ssl_key_handler.hpp b/include/ssl_key_handler.hpp
index 2a1a852473..ef512e6b32 100644
--- a/include/ssl_key_handler.hpp
+++ b/include/ssl_key_handler.hpp
@@ -4,7 +4,6 @@
#include <openssl/bio.h>
#include <openssl/dh.h>
#include <openssl/dsa.h>
-#include <openssl/dsa.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
@@ -304,7 +303,7 @@ inline boost::asio::ssl::context get_ssl_context(
std::string aes_only_ciphers = "AES128+EECDH:AES128+EDH:!aNULL:!eNULL";
if (SSL_CTX_set_cipher_list(m_ssl_context.native_handle(),
- mozilla_compatibility_ciphers.c_str()) != 1) {
+ mozilla_modern_ciphers.c_str()) != 1) {
CROW_LOG_ERROR << "Error setting cipher list\n";
}
return m_ssl_context;