From: Vsevolod Stakhov Date: Tue, 15 Oct 2024 13:32:02 +0000 (+0100) Subject: [Minor] Thank you OpenSSL for all those new names X-Git-Tag: 3.10.1~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5188%2Fhead;p=thirdparty%2Frspamd.git [Minor] Thank you OpenSSL for all those new names --- diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 6c9f9a82e6..190d0e4a3f 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -474,7 +474,7 @@ bool rspamd_cryptobox_verify_evp_rsa(int nid, g_set_error(err, g_quark_from_static_string("OpenSSL"), r, "cannot set digest %s for RSA verification (%s returned from OpenSSL), try use `update-crypto-policies --set LEGACY` on RH", - EVP_MD_get0_name(md), + EVP_MD_name(md), ERR_lib_error_string(ERR_get_error())); EVP_PKEY_CTX_free(pctx); EVP_MD_CTX_free(mdctx);