tests: use ndn::util::Sha256 instead of ndn::crypto
refs #3940
Change-Id: I87c9cbfa9ae3592a053dd7eb0cb09d857668d111
diff --git a/tests/daemon/table/cs-policy-lru.t.cpp b/tests/daemon/table/cs-policy-lru.t.cpp
index 8813de5..7466510 100644
--- a/tests/daemon/table/cs-policy-lru.t.cpp
+++ b/tests/daemon/table/cs-policy-lru.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2016, Regents of the University of California,
+/*
+ * Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -25,7 +25,6 @@
#include "table/cs-policy-lru.hpp"
#include "table/cs.hpp"
-#include <ndn-cxx/util/crypto.hpp>
#include "tests/test-common.hpp"
diff --git a/tests/daemon/table/cs-policy-priority-fifo.t.cpp b/tests/daemon/table/cs-policy-priority-fifo.t.cpp
index 04a613f..b68729a 100644
--- a/tests/daemon/table/cs-policy-priority-fifo.t.cpp
+++ b/tests/daemon/table/cs-policy-priority-fifo.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2016, Regents of the University of California,
+/*
+ * Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -25,7 +25,6 @@
#include "table/cs-policy-priority-fifo.hpp"
#include "table/cs.hpp"
-#include <ndn-cxx/util/crypto.hpp>
#include "tests/test-common.hpp"
diff --git a/tests/daemon/table/cs.t.cpp b/tests/daemon/table/cs.t.cpp
index 0e14b0f..7951b02 100644
--- a/tests/daemon/table/cs.t.cpp
+++ b/tests/daemon/table/cs.t.cpp
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
+/*
* Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
@@ -25,7 +25,7 @@
#include "table/cs.hpp"
#include <ndn-cxx/lp/tags.hpp>
-#include <ndn-cxx/util/crypto.hpp>
+#include <ndn-cxx/util/sha256.hpp>
#include "tests/test-common.hpp"
@@ -312,9 +312,9 @@
Name n2 = insert(2, "/A");
insert(3, "/A/B");
- uint8_t digest00[ndn::crypto::SHA256_DIGEST_SIZE];
+ uint8_t digest00[ndn::util::Sha256::DIGEST_SIZE];
std::fill_n(digest00, sizeof(digest00), 0x00);
- uint8_t digestFF[ndn::crypto::SHA256_DIGEST_SIZE];
+ uint8_t digestFF[ndn::util::Sha256::DIGEST_SIZE];
std::fill_n(digestFF, sizeof(digestFF), 0xFF);
Exclude excludeDigest;