Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22472)
config: enable-fuzz-afl no-module,
install: afl++-clang,
cc: afl-clang-fast
+ tests: -
}, {
name: libFuzzer,
config: enable-fuzz-libfuzzer enable-asan enable-ubsan,
plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
if disabled('quic');
+plan skip_all => "These tests are not supported in a fuzz build"
+ if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
+
plan tests => 1;
ok(run(test(["quic_record_test"])));
plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
if disabled('quic');
+plan skip_all => "These tests are not supported in a fuzz build"
+ if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
+
plan tests =>
($no_fips ? 0 : 1) # quicapitest with fips
+ 1; # quicapitest with default provider
plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
if disabled('quic');
+plan skip_all => "These tests are not supported in a fuzz build"
+ if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
+
plan tests => 2;
ok(run(test(["quicfaultstest", srctop_dir("test", "certs")])),