Commit 2047dcfe authored by Niels Möller's avatar Niels Möller
Browse files

(main): Use crypto_hmac_sha1_algorithm.

Rev: src/pkcs5-test.c:1.5
parent ff160505
...@@ -76,7 +76,7 @@ int main(int argc, char **argv) ...@@ -76,7 +76,7 @@ int main(int argc, char **argv)
key = alloca(length); key = alloca(length);
pkcs5_derive_key(make_hmac_algorithm(&sha1_algorithm), pkcs5_derive_key(&crypto_hmac_sha1_algorithm,
strlen(password), password, strlen(password), password,
strlen(salt), salt, strlen(salt), salt,
iterations, iterations,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment