diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-03-01 22:27:56 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-03-01 23:14:55 +0100 |
commit | 3157d1f06e37906fd8821d2d869c40eac0d2b38c (patch) | |
tree | 5aeb6fab42c5f2cf8ed4c06c458c024315f2eb2a /tests/unit/core | |
parent | 9a6a27ef58982319549529d43906da60ce199aaf (diff) | |
download | weechat-3157d1f06e37906fd8821d2d869c40eac0d2b38c.zip |
api: add function crypto_hash_pbkdf2
Diffstat (limited to 'tests/unit/core')
-rw-r--r-- | tests/unit/core/test-core-crypto.cpp | 4 |
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)); \ |