package/ipmiutil: fix build with openssl 1.1.x
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 17 Feb 2019 16:24:32 +0000 (17:24 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 20 Feb 2019 20:33:57 +0000 (21:33 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/1d868798c5b80d7b41123f988449ef548dd95490

This works for libressl as well, because libressl does provide
EVP_CIPHER_CTX_new() which is what gets enabled by -DSSL11

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/ipmiutil/ipmiutil.mk

index 5d8c45665d324ef4bba475e026afc9c9d6c5521e..0d9a4509b3b883e29fdeee7244d1ec5450b7a991 100644 (file)
@@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
 # tests against distro libcrypto so it might get a false positive when
 # the openssl version is old, so force it off
 # SKIP_MD2 can be used only if ALLOW_GNU is defined.
-IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2"
+IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11"
 IPMIUTIL_DEPENDENCIES += openssl
 else
 IPMIUTIL_CONF_OPTS += --disable-lanplus