On Tue, 17 Dec 2019 at 21:18, Rosen Penev <ros...@gmail.com> wrote:
> > That's why I'm suggesting:
> >
> > #ifndef X509_getm_notBefore
> > #define X509_getm_notBefore     X509_get_notBefore
> > #define X509_getm_notAfter      X509_get_notAfter
> > #endif
> >
> >
> > Am I missing something?
> Yes you are. A macro is not the same as a declaration.
>
> Just to be sure I tried your change and it failed.
>
> That's twice I've had to explain basic C...

I guess it's

#if (HA_OPENSSL_VERSION_NUMBER < 0x1010000fL) &&
(LIBRESSL_VERSION_NUMBER < 0x2070000fL) ||
defined(OPENSSL_IS_BORINGSSL)

then.

Reply via email to