[FFmpeg-devel] [PATCH]lavf/tls_openssl: Fix compilation with current libressl

Hendrik Leppkes h.leppkes at gmail.com
Tue Nov 7 17:15:44 EET 2017


On Tue, Nov 7, 2017 at 2:57 PM, James Almer <jamrial at gmail.com> wrote:
> On 11/7/2017 10:48 AM, Hendrik Leppkes wrote:
>> On Tue, Nov 7, 2017 at 1:28 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>>> Hi!
>>>
>>> Attached patch fixes compilation with current libressl, related to ticket #6801.
>>>
>>
>> I believe we basically had that exact same patch on the ML before, and
>> the consensus was to not have a jungle of #ifdefs in the code, and
>> instead have configure figure it out.
>
> configure could at most refuse to compile tls_openssl with libressl, but
> nothing to make it build successfully without ifdeffery.
>
> Is that preferred?

I meant to have configure figure out properly if OpenSSL 1.1 API is
available, and not repeat that check in the code several times, which
is growing more complex now.

- Hendrik


More information about the ffmpeg-devel mailing list