Make BIO_info_cb() identical to bio_info_cb()
authortb <tb@openbsd.org>
Sun, 11 Sep 2022 17:26:03 +0000 (17:26 +0000)
committertb <tb@openbsd.org>
Sun, 11 Sep 2022 17:26:03 +0000 (17:26 +0000)
commitf78b0aad06714b40060262ac130c20cc50ffad52
treec9029e1d23209517c630eaee20c316390b5abcf7
parenteee84ed32f46a0d413f014821210343b555628a9
Make BIO_info_cb() identical to bio_info_cb()

Various projects use bio_info_cb and BIO_info_cb interchangeably, for
example mupdf and freerdp. This is because this was changed in OpenSSL
commit fce78bd4 (2017), triggered by new warnings in gcc 8.

https://github.com/openssl/openssl/pull/4493

This results in some scary compiler warnings and useless patches in ports.
Nobody seems to be using the old bio_info_cb() version.

ok jsing
lib/libcrypto/bio/bio.h