From b921df4f27100a7fcaed868432ba7fd9d222dbe2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 15 Oct 2024 14:32:02 +0100 Subject: [PATCH] [Minor] Thank you OpenSSL for all those new names --- src/libcryptobox/cryptobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 6c9f9a82e..190d0e4a3 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); -- 2.39.5