Skip to content

Commit

Permalink
Update g10 fuzzer with linking to Botan library.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Jul 25, 2024
1 parent c5f6c60 commit 9a1cf55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/fuzzing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ target_include_directories(fuzz_keyring_g10
target_link_libraries(fuzz_keyring_g10
PRIVATE
librnp-static
Botan::Botan
)

if (ENABLE_SANITIZERS)
Expand Down
6 changes: 3 additions & 3 deletions src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ if(ENABLE_PQC)
endif()

# check that AEAD is enabled and not turned off for ENABLE_CRYPTO_REFRESH
if(ENABLE_CRYPTO_REFRESH AND (NOT ENABLE_AEAD))
message(FATAL_ERROR "ENABLE_CRYPTO_REFRESH requires ENABLE_AEAD, but it's either Off or Auto and got turned off")
endif()
if(ENABLE_CRYPTO_REFRESH AND (NOT ENABLE_AEAD))
message(FATAL_ERROR "ENABLE_CRYPTO_REFRESH requires ENABLE_AEAD, but it's either Off or Auto and got turned off")
endif()

# generate a config.h
include(CheckIncludeFileCXX)
Expand Down

0 comments on commit 9a1cf55

Please sign in to comment.