diff options
author | Francis Dupont <fdupont@isc.org> | 2015-06-24 13:18:07 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2015-06-24 13:18:07 +0200 |
commit | 06e1ae77f1932a1eaa42fc1bade4805df1f1886d (patch) | |
tree | 8e5072c1d4e49460b3f2177cabcc4c46fd6689ac /src/lib/cryptolink/tests | |
parent | [3919] Suppress cppcheck warning for item_default (diff) | |
download | kea-06e1ae77f1932a1eaa42fc1bade4805df1f1886d.tar.xz kea-06e1ae77f1932a1eaa42fc1bade4805df1f1886d.zip |
[3919] Removed spurious declarations
Diffstat (limited to 'src/lib/cryptolink/tests')
-rw-r--r-- | src/lib/cryptolink/tests/hash_unittests.cc | 2 | ||||
-rw-r--r-- | src/lib/cryptolink/tests/hmac_unittests.cc | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/cryptolink/tests/hash_unittests.cc b/src/lib/cryptolink/tests/hash_unittests.cc index 4c122d1e6d..18f0a1f0cf 100644 --- a/src/lib/cryptolink/tests/hash_unittests.cc +++ b/src/lib/cryptolink/tests/hash_unittests.cc @@ -560,8 +560,6 @@ namespace { } TEST(HashTest, HashLength) { - std::vector<uint8_t> result; - EXPECT_EQ(8, digestVectorLength(MD5, 8)); EXPECT_EQ(16, digestVectorLength(MD5, 16)); EXPECT_EQ(16, digestVectorLength(MD5, 40)); diff --git a/src/lib/cryptolink/tests/hmac_unittests.cc b/src/lib/cryptolink/tests/hmac_unittests.cc index 240f55bd57..214935828d 100644 --- a/src/lib/cryptolink/tests/hmac_unittests.cc +++ b/src/lib/cryptolink/tests/hmac_unittests.cc @@ -638,8 +638,6 @@ namespace { } TEST(HMACTest, HMACSigLengthArgument) { - std::vector<uint8_t> sig; - EXPECT_EQ(8, sigVectorLength(MD5, 8)); EXPECT_EQ(16, sigVectorLength(MD5, 16)); EXPECT_EQ(16, sigVectorLength(MD5, 40)); |