Reduce unnecessary includes in common.hpp
Also, make Decryptor::doDecrypt() static
Refs: #4755
Change-Id: I21b05897e31fc98697b60b7305ac865962e699c4
diff --git a/tests/unit/decryptor.t.cpp b/tests/unit/decryptor.t.cpp
index 1aeedbc..7b79855 100644
--- a/tests/unit/decryptor.t.cpp
+++ b/tests/unit/decryptor.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2020, Regents of the University of California
+ * Copyright (c) 2014-2022, Regents of the University of California
*
* NAC library is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
@@ -27,8 +27,8 @@
#include "tests/io-key-chain-fixture.hpp"
#include "tests/unit/static-data.hpp"
-#include <iostream>
#include <boost/mpl/vector.hpp>
+#include <ndn-cxx/security/validator-null.hpp>
#include <ndn-cxx/util/dummy-client-face.hpp>
namespace ndn {
@@ -85,7 +85,7 @@
public:
util::DummyClientFace face;
- ValidatorNull validator;
+ security::ValidatorNull validator;
Decryptor decryptor;
};