openvpn: openssl: explicitly depend on deprecated APIs
authorMagnus Kroken <mkroken@gmail.com>
Tue, 2 Apr 2019 20:18:44 +0000 (22:18 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 3 Apr 2019 08:00:39 +0000 (10:00 +0200)
OpenVPN as of 2.4.7 uses some OpenSSL APIs that are deprecated in
OpenSSL >= 1.1.0.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [white space fix]
package/network/services/openvpn/Makefile

index e5bd80649a74be1c7b20bc69247de330d198d0c0..f01b74d8aaf5779fd2d32f7188facfefdbae1cba 100644 (file)
@@ -45,7 +45,7 @@ else
 endif
 endef
 
-Package/openvpn-openssl=$(call Package/openvpn/Default,openssl,OpenSSL,+PACKAGE_openvpn-openssl:libopenssl)
+Package/openvpn-openssl=$(call Package/openvpn/Default,openssl,OpenSSL,+PACKAGE_openvpn-openssl:libopenssl +@OPENSSL_WITH_DEPRECATED)
 Package/openvpn-mbedtls=$(call Package/openvpn/Default,mbedtls,mbedTLS,+PACKAGE_openvpn-mbedtls:libmbedtls)
 Package/openvpn-nossl=$(call Package/openvpn/Default,nossl,plaintext (no SSL))