Skip to content

Commit

Permalink
Remove unused <openssl/{hmac,engine}.h> headers from OpenSSL shims
Browse files Browse the repository at this point in the history
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 75a5092)
  • Loading branch information
pemensik authored and marka63 committed Oct 18, 2024
1 parent c5b6eb3 commit e5ffa52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/isc/openssl_shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 0 additions & 2 deletions lib/isc/openssl_shim.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit e5ffa52

Please sign in to comment.