-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Fix build when openssl/engine.h is not available anymore
On Fedora Rawhide openssl/engine.h has disappeared, indicating the disablement of the engine. Therefore check for openssl/engine.h and disable building with engine support if the file is not found. In libimaevm.c #include openssl/engine.h only when CONFIG_IMA_EVM_ENGINE is set. In the public header file imaevm.h only #include the file when OPENSSL_NO_STATIC_ENGINE is not set, which is now set in Fedora Rawhide. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
- Loading branch information
1 parent
a8d1df9
commit 1985de1
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters