Hi,

On 20-01-18 18:22, Selva Nair wrote:
> Does openvpn-vagrant include any VM provisioning with openssl-0.9.8?
> Until recently I had access to a few old debian boxes but now all
> updated and 0.9.8 testing is getting harder.

To test against various openssl versions, I statically compile against
them, like this:

git clone https://github.com/openssl/openssl.git --branch
OpenSSL_0_9_8-stable
git clone https://github.com/OpenVPN/openvpn.git --branch release/2.4

(cd openssl && ./config -v -d no-shared && make build_libs)

cd openvpn

autoreconf -vif

OPENSSL_CFLAGS="-I$(pwd)/../openssl/include" \
OPENSSL_LIBS="-L$(pwd)/../openssl -lssl -lcrypto -lpthread -ldl" \
./configure --enable-strict

make check

That of course doesn't catch platform-specific things, but it does catch
almost all issues we've encountered so far.

-Steffan

PS: it could be that libpthead and libdl are only needed for newer
openssl version, but I use the same scripts to build for all versions.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to