]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Thank you OpenSSL for all those new names 5188/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 15 Oct 2024 13:32:02 +0000 (14:32 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 15 Oct 2024 13:32:02 +0000 (14:32 +0100)
src/libcryptobox/cryptobox.c

index 6c9f9a82e6b161690cea20047daab5e1da77c8de..190d0e4a3fc3b1756e28e4275eb688bb5e2badcd 100644 (file)
@@ -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);