Do not build freenull.c with LIBRESSL_INTERANL

The point of this check is to test external API...
This commit is contained in:
Theo Buehler 2023-03-11 07:54:08 -07:00
parent db30748029
commit 1f997d143b
2 changed files with 3 additions and 0 deletions

View File

@ -350,6 +350,8 @@ endif()
# freenull
add_executable(freenull freenull.c)
set_source_files_properties(freenull.c PROPERTIES COMPILE_FLAGS
-ULIBRESSL_INTERNAL)
target_link_libraries(freenull ${OPENSSL_TEST_LIBS})
add_test(freenull freenull)

View File

@ -369,6 +369,7 @@ endif
# freenull
TESTS += freenull
freenull_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL
check_PROGRAMS += freenull
freenull_SOURCES = freenull.c