diff options
Diffstat (limited to 'src/auth_algo.c')
-rw-r--r-- | src/auth_algo.c | 4 |
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(¶ms->ctx_, aa->key_.buf_, aa->key_.length_, EVP_sha1(), NULL); } else { - HMAC_Init_ex(¶ms->ctx_, NULL, 0, EVP_sha1(), NULL); + HMAC_Init_ex(¶ms->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(¶ms->ctx_, aa->key_.buf_, aa->key_.length_, EVP_sha1(), NULL); } else { - HMAC_Init_ex(¶ms->ctx_, NULL, 0, EVP_sha1(), NULL); + HMAC_Init_ex(¶ms->ctx_, NULL, 0, NULL, NULL); #endif } |