Remove OpenSSL warnings ignore
If we include OpenSSL in extern "C" blocks consistently, c++ warnings no
longer appear. This means we can remove the special case from meson.
Tested: Code compiles when built locally on an ubuntu 22.04 system.
Change-Id: I5add4113b32cd88b7fdd874174c845425a7c287a
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/test/http/mutual_tls.cpp b/test/http/mutual_tls.cpp
index be8b651..9d964bf 100644
--- a/test/http/mutual_tls.cpp
+++ b/test/http/mutual_tls.cpp
@@ -2,6 +2,8 @@
#include "sessions.hpp"
+extern "C"
+{
#include <openssl/asn1.h>
#include <openssl/ec.h>
#include <openssl/evp.h>
@@ -10,6 +12,7 @@
#include <openssl/x509.h>
#include <openssl/x509_vfy.h>
#include <openssl/x509v3.h>
+}
#include <boost/asio/ip/address.hpp>
#include <boost/asio/ssl/verify_context.hpp>