пт, 24 сент. 2021 г. в 19:49, Willy Tarreau <w...@1wt.eu>:

> On Fri, Sep 24, 2021 at 07:14:40PM +0500, ???? ??????? wrote:
> > > I'd really prefer that we address all this API stuff through the
> > > openssl-compat stuff, so that over time we can more easily drop
> > > unneeded stuff. Above that could be done this way:
> > >
> > >   #if (OPENSSL_VERSION_NUMBER >= 0x30000000L)
> > >   #  define ERR_func_error_string(ret) "OPENSSL_internal"
> > >   #endif
> > >
> >
> >
> > This introduces dangerous dependency on ERR_func_error_string being
> > substituted by preprocessor before it is passed to the compiler (or not)
>
> If it were defined you wouldn't have to work around it. And if you're
> worried that it may still be defined in some cases (which I perfectly
> understand), then you can just prepend a #undef before the #define.
>

I believe it is a function (at least for earlier openssl)


>
> Cheers,
> Willy
>

Reply via email to