Skip to content

Commit

Permalink
fixup! Use imaevm_signhash if available
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnks committed Nov 21, 2024
1 parent 375a17a commit 9790ec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ endif()

if (WITH_IMAEVM)
list(APPEND REQFUNCS lsetxattr)
list(APPEND OPTFUNCS imaevm_signhash)
check_library_exists(imaevm imaevm_signhash "" HAVE_IMAEVM_SIGNHASH)
add_library(IMA::IMA UNKNOWN IMPORTED)
find_path(IMA_INCLUDE_DIR NAMES imaevm.h REQUIRED)
find_library(IMA_LIBRARY NAMES imaevm REQUIRED)
Expand Down
1 change: 1 addition & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#cmakedefine HAVE_LINUX_FSVERITY_H @HAVE_LINUX_FSVERITY_H@
#cmakedefine HAVE_LOCALTIME_R @HAVE_LOCALTIME_R@
#cmakedefine HAVE_LSETXATTR @HAVE_LSETXATTR@
#cmakedefine HAVE_IMAEVM_SIGNHASH @HAVE_IMAEVM_SIGNHASH@
#cmakedefine HAVE_LUTIMES @HAVE_LUTIMES@
#cmakedefine HAVE_LZMA_H @HAVE_LZMA_H@
#cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
Expand Down

0 comments on commit 9790ec7

Please sign in to comment.