aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-10-15 14:32:02 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-10-15 14:32:02 +0100
commitb921df4f27100a7fcaed868432ba7fd9d222dbe2 (patch)
treeac25064ebe8ff9d0518a29613c1c1a2de3fb72c2
parent57704c1d8eb972812510b3f0a2049ee3bfff90e1 (diff)
downloadrspamd-b921df4f27100a7fcaed868432ba7fd9d222dbe2.tar.gz
rspamd-b921df4f27100a7fcaed868432ba7fd9d222dbe2.zip
[Minor] Thank you OpenSSL for all those new names
-rw-r--r--src/libcryptobox/cryptobox.c2
1 files changed, 1 insertions, 1 deletions
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);