Enable support for using certificate manager only. Fixes for building without TLS enabled (NO_TLS). ZD 19054. Tested using ./configure --disable-tlsv12 --disable-tls13 CFLAGS="-DNO_TLS" && make check

This commit is contained in:
David Garske
2024-12-10 12:11:22 -08:00
parent 22e95081cd
commit 14e3372826
14 changed files with 226 additions and 135 deletions

View File

@@ -217,8 +217,14 @@ else
exit_hash_dir_code=0
fi
# run the test
run_test
# Check that server is enabled
./examples/server/server -? 2>&1 | grep -- 'Create Ready file'
if [ $? -eq 0 ]; then
# run the test
run_test
else
exit_code=0
fi
# If we get to this exit, exit_code will be a 1 signaling failure
echo "exiting with $exit_code certificate was not revoked"