[Buildroot] [PATCH 1/1] package/ipmiutil: fix build with openssl 1.1.x

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Feb 17 21:28:21 UTC 2019


Dear Thomas,
Le dim. 17 févr. 2019 à 21:03, Fabrice Fontaine
<fontaine.fabrice at gmail.com> a écrit :
>
> Dear Thomas,
> Le dim. 17 févr. 2019 à 20:56, Thomas Petazzoni
> <thomas.petazzoni at bootlin.com> a écrit :
> >
> > Hello,
> >
> > On Sun, 17 Feb 2019 17:24:32 +0100
> > Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
> >
> > > Fixes:
> > >  - http://autobuild.buildroot.org/results/1d868798c5b80d7b41123f988449ef548dd95490
> > >
> > > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> > > ---
> > >  package/ipmiutil/ipmiutil.mk | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/package/ipmiutil/ipmiutil.mk b/package/ipmiutil/ipmiutil.mk
> > > index 5d8c45665d..0d9a4509b3 100644
> > > --- a/package/ipmiutil/ipmiutil.mk
> > > +++ b/package/ipmiutil/ipmiutil.mk
> > > @@ -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"
> >
> > How does that play with LibreSSL instead of OpenSSL ?
> I didn't think about LibreSSL, I think it'll probably break, I'll test
> it and will probably send a v2.
Finally, the test was successful as EVP_CIPHER_CTX_new is also
available in LibreSSL.
> >
> > Thanks,
> >
> > Thomas
> > --
> > Thomas Petazzoni, CTO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
> Best Regards,
>
> Fabrice
Best Regards,

Fabrice


More information about the buildroot mailing list