]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix ssl unit tests on OpenSSL 1.0.2
authorArne Schwabe <arne@rfc2549.org>
Mon, 22 Jan 2024 13:09:09 +0000 (14:09 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 22 Jan 2024 13:12:23 +0000 (14:12 +0100)
commitdc4fde8052639ffbc29ccc87130a0ce25f6dcd6c
treeebf94371121a904da7065ccd32115b233c1dbfbb
parenta634cc5eccd55f1d14197da7376bb819bdf72cb6
Fix ssl unit tests on OpenSSL 1.0.2

OpenSSL 1.1.1 will initialise itself using clever linker magic. For
OpenSSL 1.0.2 we need to manually initialise the library. For other
unit tests just doing the OpenSSL_add_all_algorithms is enough but
this unit test needs a more complete initialisation.

Change-Id: I378081f391ad755d0a6fd5613de5c2a8bacc389a
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240122130909.10706-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28112.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/openvpn/test_ssl.c