summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Mayer <tobim@fastmail.fm>2023-03-10 09:02:38 +0100
committerJens Geyer <Jens-G@users.noreply.github.com>2023-03-18 00:00:30 +0100
commit0d95b8c4e1d5be3ae4cc3fe5823cddbb91dbc2ec (patch)
tree8e2640afd4a78df45a048110c033c22a955d14a2
parentae3e96bd33777e75e92f8947d51240fae5beeaa8 (diff)
downloadthrift-0d95b8c4e1d5be3ae4cc3fe5823cddbb91dbc2ec.tar.gz
Add missing include for the security tests
-rw-r--r--lib/cpp/test/SecurityFromBufferTest.cpp1
-rw-r--r--lib/cpp/test/SecurityTest.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/cpp/test/SecurityFromBufferTest.cpp b/lib/cpp/test/SecurityFromBufferTest.cpp
index 194e67fdd..5fba5ee90 100644
--- a/lib/cpp/test/SecurityFromBufferTest.cpp
+++ b/lib/cpp/test/SecurityFromBufferTest.cpp
@@ -26,6 +26,7 @@
#include <stdexcept>
#include <fstream>
#include <memory>
+#include <openssl/opensslv.h>
#include <thrift/transport/TSSLServerSocket.h>
#include <thrift/transport/TSSLSocket.h>
#include <thrift/transport/TTransport.h>
diff --git a/lib/cpp/test/SecurityTest.cpp b/lib/cpp/test/SecurityTest.cpp
index df0cdaf76..ab3d99b2b 100644
--- a/lib/cpp/test/SecurityTest.cpp
+++ b/lib/cpp/test/SecurityTest.cpp
@@ -24,6 +24,7 @@
#include <boost/format.hpp>
#include <boost/thread.hpp>
#include <memory>
+#include <openssl/opensslv.h>
#include <thrift/transport/TSSLServerSocket.h>
#include <thrift/transport/TSSLSocket.h>
#include <thrift/transport/TTransport.h>