From baa1aa46e56a9eb64c8dbf7b8115bc74b0b9d9ca Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 5 Mar 2024 18:44:51 +0100 Subject: [#3211] Almost done --- src/lib/cryptolink/tests/hash_unittests.cc | 3 +-- src/lib/cryptolink/tests/hmac_unittests.cc | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/cryptolink') 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(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(buf.getData()), expected, - len); + checkData(buf.getData(), expected, len); } /// @brief Sign and verify with the convenience functions -- cgit v1.2.3