security: dissolve private header security/impl/openssl.hpp
It no longer serves a purpose
Change-Id: Ic145460c139dbda969976644352fed3f44fd32ec
diff --git a/tests/unit/security/key-chain.t.cpp b/tests/unit/security/key-chain.t.cpp
index ddee6db..ef1646b 100644
--- a/tests/unit/security/key-chain.t.cpp
+++ b/tests/unit/security/key-chain.t.cpp
@@ -20,7 +20,6 @@
*/
#include "ndn-cxx/security/key-chain.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/transform/private-key.hpp"
#include "ndn-cxx/security/verification-helpers.hpp"
@@ -29,6 +28,7 @@
#include "tests/unit/clock-fixture.hpp"
#include "tests/unit/test-home-env-saver.hpp"
+#include <openssl/opensslv.h>
#include <boost/mpl/vector.hpp>
namespace ndn {
diff --git a/tests/unit/security/signing-info.t.cpp b/tests/unit/security/signing-info.t.cpp
index a68c031..87c347f 100644
--- a/tests/unit/security/signing-info.t.cpp
+++ b/tests/unit/security/signing-info.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2013-2021 Regents of the University of California.
+ * Copyright (c) 2013-2022 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -20,10 +20,10 @@
*/
#include "ndn-cxx/security/signing-info.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "tests/boost-test.hpp"
+#include <openssl/opensslv.h>
#include <boost/lexical_cast.hpp>
#include <sstream>
diff --git a/tests/unit/security/tpm/back-end.t.cpp b/tests/unit/security/tpm/back-end.t.cpp
index 9101aa3..e6f78e7 100644
--- a/tests/unit/security/tpm/back-end.t.cpp
+++ b/tests/unit/security/tpm/back-end.t.cpp
@@ -22,7 +22,6 @@
#include "ndn-cxx/security/tpm/back-end.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/pib/key.hpp"
#include "ndn-cxx/security/transform/bool-sink.hpp"
#include "ndn-cxx/security/transform/buffer-source.hpp"
@@ -38,6 +37,7 @@
#include "tests/boost-test.hpp"
+#include <openssl/opensslv.h>
#include <boost/mpl/vector.hpp>
#include <set>
diff --git a/tests/unit/security/transform/digest-filter.t.cpp b/tests/unit/security/transform/digest-filter.t.cpp
index fced1b8..08f85cf 100644
--- a/tests/unit/security/transform/digest-filter.t.cpp
+++ b/tests/unit/security/transform/digest-filter.t.cpp
@@ -22,13 +22,14 @@
#include "ndn-cxx/security/transform/digest-filter.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/transform/buffer-source.hpp"
#include "ndn-cxx/security/transform/step-source.hpp"
#include "ndn-cxx/security/transform/stream-sink.hpp"
#include "tests/boost-test.hpp"
+#include <openssl/evp.h>
+
namespace ndn {
namespace security {
namespace transform {
diff --git a/tests/unit/security/transform/private-key.t.cpp b/tests/unit/security/transform/private-key.t.cpp
index 9ab5734..077c2e3 100644
--- a/tests/unit/security/transform/private-key.t.cpp
+++ b/tests/unit/security/transform/private-key.t.cpp
@@ -22,7 +22,6 @@
#include "ndn-cxx/security/transform/private-key.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/key-params.hpp"
#include "ndn-cxx/security/transform/base64-decode.hpp"
#include "ndn-cxx/security/transform/bool-sink.hpp"
@@ -35,8 +34,8 @@
#include "tests/boost-test.hpp"
+#include <openssl/opensslv.h>
#include <boost/mpl/vector.hpp>
-
#include <sstream>
namespace ndn {
diff --git a/tests/unit/security/transform/verifier-filter.t.cpp b/tests/unit/security/transform/verifier-filter.t.cpp
index 882890f..ef986b1 100644
--- a/tests/unit/security/transform/verifier-filter.t.cpp
+++ b/tests/unit/security/transform/verifier-filter.t.cpp
@@ -22,7 +22,6 @@
#include "ndn-cxx/security/transform/verifier-filter.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/key-params.hpp"
#include "ndn-cxx/security/transform/base64-decode.hpp"
#include "ndn-cxx/security/transform/bool-sink.hpp"
@@ -34,6 +33,8 @@
#include "tests/boost-test.hpp"
+#include <openssl/opensslv.h>
+
namespace ndn {
namespace security {
namespace transform {
diff --git a/tests/unit/security/verification-helpers.t.cpp b/tests/unit/security/verification-helpers.t.cpp
index 79cc41c..d3434c8 100644
--- a/tests/unit/security/verification-helpers.t.cpp
+++ b/tests/unit/security/verification-helpers.t.cpp
@@ -20,13 +20,13 @@
*/
#include "ndn-cxx/security/verification-helpers.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "ndn-cxx/security/transform/public-key.hpp"
// #include "ndn-cxx/util/string-helper.hpp"
#include "tests/key-chain-fixture.hpp"
#include "tests/test-common.hpp"
+#include <openssl/opensslv.h>
#include <boost/mpl/vector.hpp>
namespace ndn {
diff --git a/tests/unit/util/random.t.cpp b/tests/unit/util/random.t.cpp
index 8875cce..388bb98 100644
--- a/tests/unit/util/random.t.cpp
+++ b/tests/unit/util/random.t.cpp
@@ -20,10 +20,11 @@
*/
#include "ndn-cxx/util/random.hpp"
-#include "ndn-cxx/security/impl/openssl.hpp"
#include "tests/boost-test.hpp"
+#include <openssl/rand.h>
+
#include <array>
#include <thread>