summaryrefslogtreecommitdiffstats
path: root/src/lib/cryptolink
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2024-03-05 18:44:51 +0100
committerFrancis Dupont <fdupont@isc.org>2024-03-20 00:18:24 +0100
commitbaa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca (patch)
treef8493dc49ea33769f038b0a3c652ee540f31ff2b /src/lib/cryptolink
parent[#3211] Checkpoint: rewrote InputBuffer (diff)
downloadkea-baa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca.tar.xz
kea-baa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca.zip
[#3211] Almost done
Diffstat (limited to 'src/lib/cryptolink')
-rw-r--r--src/lib/cryptolink/tests/hash_unittests.cc3
-rw-r--r--src/lib/cryptolink/tests/hmac_unittests.cc3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/cryptolink/tests/hash_unittests.cc b/src/lib/cryptolink/tests/hash_unittests.cc
index cd747b4f4d..a8c6ded6ab 100644
--- a/src/lib/cryptolink/tests/hash_unittests.cc
+++ b/src/lib/cryptolink/tests/hash_unittests.cc
@@ -50,8 +50,7 @@ namespace {
size_t len)
{
ASSERT_EQ(len, buf.getLength());
- checkData(static_cast<const uint8_t*>(buf.getData()), expected,
- len);
+ checkData(buf.getData(), expected, len);
}
/// @brief Hash with the convenience functions
diff --git a/src/lib/cryptolink/tests/hmac_unittests.cc b/src/lib/cryptolink/tests/hmac_unittests.cc
index ab133e51d4..d5c6a83ab2 100644
--- a/src/lib/cryptolink/tests/hmac_unittests.cc
+++ b/src/lib/cryptolink/tests/hmac_unittests.cc
@@ -60,8 +60,7 @@ namespace {
size_t len)
{
ASSERT_EQ(len, buf.getLength());
- checkData(static_cast<const uint8_t*>(buf.getData()), expected,
- len);
+ checkData(buf.getData(), expected, len);
}
/// @brief Sign and verify with the convenience functions