summaryrefslogtreecommitdiff
path: root/src/auth_algo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth_algo.c')
-rw-r--r--src/auth_algo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth_algo.c b/src/auth_algo.c
index 1476ad0..0193fa6 100644
--- a/src/auth_algo.c
+++ b/src/auth_algo.c
@@ -200,7 +200,7 @@ void auth_algo_sha1_generate(auth_algo_t* aa, key_derivation_t* kd, encrypted_pa
HMAC_Init_ex(&params->ctx_, aa->key_.buf_, aa->key_.length_, EVP_sha1(), NULL);
}
else {
- HMAC_Init_ex(&params->ctx_, NULL, 0, EVP_sha1(), NULL);
+ HMAC_Init_ex(&params->ctx_, NULL, 0, NULL, NULL);
#endif
}
@@ -254,7 +254,7 @@ int auth_algo_sha1_check_tag(auth_algo_t* aa, key_derivation_t* kd, encrypted_pa
HMAC_Init_ex(&params->ctx_, aa->key_.buf_, aa->key_.length_, EVP_sha1(), NULL);
}
else {
- HMAC_Init_ex(&params->ctx_, NULL, 0, EVP_sha1(), NULL);
+ HMAC_Init_ex(&params->ctx_, NULL, 0, NULL, NULL);
#endif
}