security: remove redundant overloads of verifySignature() and verifyDigest()
Change-Id: I5fe14876acea04fe979ffe0872855f1b5bbede24
diff --git a/tests/unit/security/key-chain.t.cpp b/tests/unit/security/key-chain.t.cpp
index d3fb67e..1aa76b8 100644
--- a/tests/unit/security/key-chain.t.cpp
+++ b/tests/unit/security/key-chain.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2013-2020 Regents of the University of California.
+ * Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -526,7 +526,7 @@
bool
verify(const SigningInfo&) const
{
- return verifyDigest(this->packet, DigestAlgorithm::SHA256);
+ return verifySignature(this->packet, nullopt);
}
};
@@ -544,7 +544,9 @@
Sha256Signing<InterestV02Pkt>,
Sha256Signing<InterestV03Pkt>,
SigningWithNonDefaultIdentity<DataPkt>,
- SigningWithNonDefaultKey<DataPkt>
+ SigningWithNonDefaultIdentity<InterestV03Pkt>,
+ SigningWithNonDefaultKey<DataPkt>,
+ SigningWithNonDefaultKey<InterestV03Pkt>
>;
BOOST_FIXTURE_TEST_CASE_TEMPLATE(SigningInterface, T, SigningTests, T)