Add conditional unit testing interface.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 23 Jul 2014 12:18:06 +0000 (13:18 +0100)
committerJanusz Kozerski <j.kozerski@samsung.com>
Mon, 20 Oct 2014 13:25:32 +0000 (15:25 +0200)
commit14008ec5123d465333de63310729f5008410a411
tree7df271b3dcedf380c8accd7272922406e0a66b51
parentae25ee5cb1f4bb7ae9c83bddef98735ba271e4cb
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
Configure
ssl/Makefile
ssl/heartbeat_test.c
ssl/ssl.h
ssl/ssl_locl.h
ssl/ssl_utst.c [new file with mode: 0644]
util/mk1mf.pl
util/mkdef.pl
util/ssleay.num