Skip to content

Commit

Permalink
(xmlsec-openssl) Fix build if OpenSSL 3.0 doesn't have engines
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh123 committed Jul 29, 2024
1 parent cd9609f commit d4d89be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/openssl/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@
#include <openssl/pem.h>
#include <openssl/pkcs12.h>
#include <openssl/conf.h>
#include <openssl/engine.h>
#include <openssl/x509_vfy.h>
#include <openssl/x509.h>

#if !defined(OPENSSL_NO_ENGINE) && (!defined(XMLSEC_OPENSSL_API_300) || defined(XMLSEC_OPENSSL3_ENGINES))
#include <openssl/engine.h>
#endif /* !defined(OPENSSL_NO_ENGINE) && (!defined(XMLSEC_OPENSSL_API_300) || defined(XMLSEC_OPENSSL3_ENGINES)) */

#ifndef OPENSSL_IS_BORINGSSL
#include <openssl/ui.h>
#endif /* OPENSSL_IS_BORINGSSL */
Expand Down

0 comments on commit d4d89be

Please sign in to comment.