Re: [OpenWrt-Devel] [RFC PATCH ustream-ssl] openssl: support OpenSSL 1.1.x API

2018-05-20 Thread Rosen Penev
On Sun, May 20, 2018 at 1:26 PM, Jo-Philipp Wich wrote: > This commit changes ustream-ssl to support OpenSSL 1.1x as backend. > > OpenSSL 1.1.x made the BIO and BIO_METHOD structures opaque and > introduced new getter/setter APIs to deal with them, therfore define > forward-compat

[OpenWrt-Devel] [RFC PATCH ustream-ssl] openssl: support OpenSSL 1.1.x API

2018-05-20 Thread Jo-Philipp Wich
This commit changes ustream-ssl to support OpenSSL 1.1x as backend. OpenSSL 1.1.x made the BIO and BIO_METHOD structures opaque and introduced new getter/setter APIs to deal with them, therfore define forward-compat stubs for older OpenSSL versions and change the code in ustream-io-openssl.c to