[Icecast] [PATCH v2 1/1] Don't use deprecated API with openssl 1.1+

Philipp Schafft phschafft at de.loewenfelsen.net
Tue May 29 21:30:53 UTC 2018


Good evening,

Thank you for your patches. Your patch is kind of what I was hoping
for. :)


On Tue, 2018-05-29 at 17:45 -0300, Eneas U de Queiroz wrote:
> OpenSSL 1.1.0 has deprecated SSL_load_error_strings and
> SSL_library_init.  Initialization is done automatically, so they're not
> needed with icecast.  Fixes issue #2318

> [...]

> +#if OPENSSL_VERSION_NUMBER < 0x10100000L
>      method = SSLv23_server_method();
> +#else
> +    method = TLS_server_method();
> +#endif

Do you maybe also know when the return value became const? Maybe we
could also have an #if for that? Would be very nice.


Thank you for your work. I'm out of office from tomorrow till the 5th of
June. Will try your patches (and apply them) when I'm back.

With best regards,

-- 
Philipp Schafft (CEO/Geschäftsführer) 
Telephon: +49.3535 490 17 92

Löwenfelsen UG (haftungsbeschränkt)     Registration number:
Bickinger Straße 21                     HRB 12308 CB
04916 Herzberg (Elster)                 VATIN/USt-ID:
Germany                                 DE305133015
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20180529/f74a8223/attachment.sig>


More information about the Icecast mailing list