]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unused <openssl/{hmac,engine}.h> headers from OpenSSL shims
authorPetr Menšík <pemensik@redhat.com>
Fri, 2 Aug 2024 23:28:36 +0000 (01:28 +0200)
committerMark Andrews <marka@isc.org>
Fri, 18 Oct 2024 01:29:27 +0000 (01:29 +0000)
The <openssl/{hmac,engine}.h> headers were unused and including the
<openssl/engine.h> header might cause build failure when OpenSSL
doesn't have Engines support enabled.

See https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine

(cherry picked from commit 75a50925f7af50d7efc55516a735c16211b32d91)

lib/isc/openssl_shim.c
lib/isc/openssl_shim.h

index b8dbfaa71b75217bcee0fa9b76d9b41514359de6..04cd145b1f364592c1426f6ef913226cd8b52126 100644 (file)
@@ -16,9 +16,7 @@
 #include <string.h>
 
 #include <openssl/crypto.h>
-#include <openssl/engine.h>
 #include <openssl/evp.h>
-#include <openssl/hmac.h>
 #include <openssl/opensslv.h>
 #include <openssl/ssl.h>
 
index c0abd14467152f3b45299a3ce3d5eb686d0558bb..9cc4354f3e19000fc319184356251f6af68291e8 100644 (file)
@@ -14,9 +14,7 @@
 #pragma once
 
 #include <openssl/crypto.h>
-#include <openssl/engine.h>
 #include <openssl/evp.h>
-#include <openssl/hmac.h>
 #include <openssl/opensslv.h>
 #include <openssl/ssl.h>