]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crypto: remove unused include 62335/head
authorKefu Chai <tchaikov@gmail.com>
Mon, 17 Mar 2025 09:52:25 +0000 (17:52 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 17 Mar 2025 09:57:13 +0000 (17:57 +0800)
openssl_crypto_accel.cc does not need the declarations included by
openssl/engine.h, also, openssl/engine.h was deprecated in favor of
the provider API, the engine support was removed in fedora 41.

so, let's avoid including it. please note, the "ENGINE" struct's
definition is available in openssl/types.h.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crypto/openssl/openssl_crypto_accel.cc

index f99844a3848b488311ebb6101b8f32dc30a82f14..4944205dd3ffbec22bff123562819e3a3e7aa477 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "crypto/openssl/openssl_crypto_accel.h"
 #include <openssl/evp.h>
-#include <openssl/engine.h>
 #include "common/debug.h"
 
 // -----------------------------------------------------------------------------