Skip to content

Commit

Permalink
use old func name
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour committed Nov 23, 2024
1 parent 98b43b6 commit 98109c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/srp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ static unsigned char *hash(SRP_HashAlgorithm alg, const unsigned char *d, size_t
static size_t hash_length(SRP_HashAlgorithm alg)
{
const EVP_MD *type = hashalg_to_ssl_evp_type(alg);
return type ? EVP_MD_get_size(type) : 0;
return type ? EVP_MD_size(type) : 0;
}

inline static int mpz_num_bytes(const mpz_t op)
Expand Down

0 comments on commit 98109c5

Please sign in to comment.