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:43:25 +0100 |
commit | 36e8c3989955aaea06487575a9ed7ce7b8a4bcaa (patch) | |
tree | 6340775322d96def2a19cdc7067e2032b3d871e8 /util/mk1mf.pl | |
parent | e3f009c595e8ab6441227f5264857762476a1017 (diff) |
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>
(cherry picked from commit e0fc7961c4fbd27577fb519d9aea2dc788742715)
Conflicts:
ssl/Makefile
util/mkdef.pl
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 72fa089f6b..bcd00ba943 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -1150,6 +1150,7 @@ sub read_options "no-montasm" => 0, "no-shared" => 0, "no-store" => 0, + "no-unit-test" => 0, "no-zlib" => 0, "no-zlib-dynamic" => 0, "fips" => \$fips |