summaryrefslogtreecommitdiff
path: root/tests/unit/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-03-01 22:27:56 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-03-01 23:14:55 +0100
commit3157d1f06e37906fd8821d2d869c40eac0d2b38c (patch)
tree5aeb6fab42c5f2cf8ed4c06c458c024315f2eb2a /tests/unit/core
parent9a6a27ef58982319549529d43906da60ce199aaf (diff)
downloadweechat-3157d1f06e37906fd8821d2d869c40eac0d2b38c.zip
api: add function crypto_hash_pbkdf2
Diffstat (limited to 'tests/unit/core')
-rw-r--r--tests/unit/core/test-core-crypto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/core/test-core-crypto.cpp b/tests/unit/core/test-core-crypto.cpp
index 92df917f9..9bab485e6 100644
--- a/tests/unit/core/test-core-crypto.cpp
+++ b/tests/unit/core/test-core-crypto.cpp
@@ -91,7 +91,7 @@ extern "C"
#define WEE_CHECK_HASH_PBKDF2(__result_code, __result_hash, \
__data, __data_size, \
- __hash_subalgo, __salt, __salt_size, \
+ __hash_algo, __salt, __salt_size, \
__iterations) \
if (__result_hash) \
{ \
@@ -105,7 +105,7 @@ extern "C"
hash_size = -1; \
LONGS_EQUAL(__result_code, \
weecrypto_hash_pbkdf2 (__data, __data_size, \
- __hash_subalgo, \
+ __hash_algo, \
__salt, __salt_size, \
__iterations, \
hash, &hash_size)); \