summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/mutual_tls.hpp3
-rw-r--r--http/utility.hpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/http/mutual_tls.hpp b/http/mutual_tls.hpp
index 1620054e1c..9f9f82b297 100644
--- a/http/mutual_tls.hpp
+++ b/http/mutual_tls.hpp
@@ -4,8 +4,11 @@
#include "mutual_tls_meta.hpp"
#include "persistent_data.hpp"
+extern "C"
+{
#include <openssl/crypto.h>
#include <openssl/ssl.h>
+}
#include <boost/asio/ip/address.hpp>
#include <boost/asio/ssl/verify_context.hpp>
diff --git a/http/utility.hpp b/http/utility.hpp
index 5a2dc67d5b..1d6750098f 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -2,7 +2,10 @@
#include "bmcweb_config.h"
+extern "C"
+{
#include <openssl/crypto.h>
+}
#include <boost/callable_traits.hpp>
#include <boost/url/parse.hpp>