]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] cryptobox: remove redundant obj_mac.h include
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 29 Jan 2026 10:52:03 +0000 (10:52 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 29 Jan 2026 10:52:03 +0000 (10:52 +0000)
NID_sha1 is already available through evp.h -> objects.h -> obj_mac.h
include chain, so explicit include is unnecessary.

src/libcryptobox/cryptobox.c

index 086a7eedcb25b6f9e200e631b8e05a933f400a7f..462a7491447c4ee7e8007581c01e95e6a93dc1fd 100644 (file)
@@ -41,7 +41,6 @@
 #include <openssl/evp.h>
 #include <openssl/rsa.h>
 #include <openssl/err.h>
-#include <openssl/obj_mac.h>
 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
 #include <openssl/provider.h>
 #endif