From 98109c513e1a5fe0e28cfeba85f1f8f524da9b78 Mon Sep 17 00:00:00 2001 From: Desour Date: Sat, 23 Nov 2024 14:16:09 +0100 Subject: [PATCH] use old func name --- src/util/srp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/srp.cpp b/src/util/srp.cpp index ac51bad89f5d..b2f066634eee 100644 --- a/src/util/srp.cpp +++ b/src/util/srp.cpp @@ -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)