提交 ce2596d4 编写于 作者: M Matt Caswell

Control building of ossl_shim through Configure

Don't build ossl_shim by default. Switch it on through
enable-external-tests.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 cfa76979
...@@ -362,6 +362,7 @@ my @disablables = ( ...@@ -362,6 +362,7 @@ my @disablables = (
"egd", "egd",
"engine", "engine",
"err", "err",
"external-tests",
"filenames", "filenames",
"fuzz-libfuzzer", "fuzz-libfuzzer",
"fuzz-afl", "fuzz-afl",
...@@ -431,6 +432,7 @@ our %disabled = ( # "what" => "comment" ...@@ -431,6 +432,7 @@ our %disabled = ( # "what" => "comment"
"crypto-mdebug-backtrace" => "default", "crypto-mdebug-backtrace" => "default",
"ec_nistp_64_gcc_128" => "default", "ec_nistp_64_gcc_128" => "default",
"egd" => "default", "egd" => "default",
"external-tests" => "default",
"fuzz-libfuzzer" => "default", "fuzz-libfuzzer" => "default",
"fuzz-afl" => "default", "fuzz-afl" => "default",
"heartbeats" => "default", "heartbeats" => "default",
......
...@@ -310,6 +310,12 @@ ...@@ -310,6 +310,12 @@
no-err no-err
Don't compile in any error strings. Don't compile in any error strings.
enable-external-tests
Enable building of integration with external test suites.
This is a developer option and may not work on all platforms.
The only supported external test suite at the current time is
the BoringSSL test suite.
no-filenames no-filenames
Don't compile in filename and line number information (e.g. Don't compile in filename and line number information (e.g.
for errors and memory allocation). for errors and memory allocation).
......
IF[{- defined $target{cxx} -}] IF[{- defined $target{cxx} && !$disabled{"external-tests"}-}]
PROGRAMS_NO_INST=ossl_shim PROGRAMS_NO_INST=ossl_shim
SOURCE[ossl_shim]=ossl_shim.cc async_bio.cc packeted_bio.cc test_config.cc SOURCE[ossl_shim]=ossl_shim.cc async_bio.cc packeted_bio.cc test_config.cc
INCLUDE[ossl_shim]=. include ../../include INCLUDE[ossl_shim]=. include ../../include
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册