tests: Cleanup OpenSSL in tests when GSSAPI is built

also from the fuzzer tests

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2025-06-19 19:08:34 +02:00
committed by Andreas Schneider
parent 62762bbbc9
commit 08a32ac381
5 changed files with 30 additions and 7 deletions

View File

@@ -23,6 +23,11 @@ if (NOT WIN32)
${TORTURE_LINK_LIBRARIES}
pthread)
endif(NOT WIN32)
if (WITH_GSSAPI AND GSSAPI_FOUND)
set(TORTURE_LINK_LIBRARIES
${TORTURE_LINK_LIBRARIES}
crypto)
endif (WITH_GSSAPI AND GSSAPI_FOUND)
# create test library
add_library(${TORTURE_LIBRARY}