On 5/31/18 10:33 PM, Selva Nair wrote:
> OpenVPN still supports openssl 1.0 and you can't build with api
> restricted to 1.1. At least not yet. So it will build only if you use
> the "default build" of OpenSSL 1.1. And should build with 1.1
> lib/headers in major distributions -- if not, there is a problem.

The "default build" does NOT include the deprecated functions:

https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes

        Access to deprecated functions/macros has been removed by default. To 
enable access you must do two things. 1) Build OpenSSL with deprecation support 
(pass "enable-deprecated" as an argument to config) 2) Applications must define 
"OPENSSL_USE_DEPRECATED" before including OpenSSL header files

The (often sloppy) distros' builds are the 'non-default' builds.

Until such time as it does, it'd be helpful to note in OpenVPN docs/readme/etc 
that, for building against OpenSSL 110 libs, a NON-default build is required.

AC



------------------------------------------------------------------------------
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