diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-07-23 13:18:06 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-24 19:41:29 +0100 |
commit | e0fc7961c4fbd27577fb519d9aea2dc788742715 (patch) | |
tree | d6ecb99ae473b7ffaeaab0fcaf6204e7067862ab /util/mk1mf.pl | |
parent | 8e55e6de45f715d4a2e0b31775c1c739ce90c1d5 (diff) | |
download | openssl-e0fc7961c4fbd27577fb519d9aea2dc788742715.tar.gz |
Add conditional unit testing interface.
Don't call internal functions directly call them through
SSL_test_functions(). This also makes unit testing work on
Windows and platforms that don't export internal functions
from shared libraries.
By default unit testing is not enabled: it requires the compile
time option "enable-unit-test".
Reviewed-by: Geoff Thorpe <geoff@openssl.org>
Diffstat (limited to 'util/mk1mf.pl')
-rwxr-xr-x | util/mk1mf.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl index a550523b62..66ff994852 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -1465,6 +1465,7 @@ sub read_options "no-zlib" => 0, "no-zlib-dynamic" => 0, "no-ssl-trace" => 0, + "no-unit-test" => 0, "fips" => \$fips, "fipscanisterbuild" => [\$fips, \$fipscanisterbuild], "fipscanisteronly" => [\$fips, \$fipscanisterbuild, \$fipscanisteronly], |