diff options
-rw-r--r-- | src/libcryptobox/cryptobox.c | 2 |
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); |