Inline and disable BIO_set().
authorjsing <jsing@openbsd.org>
Fri, 16 Feb 2024 14:40:18 +0000 (14:40 +0000)
committerjsing <jsing@openbsd.org>
Fri, 16 Feb 2024 14:40:18 +0000 (14:40 +0000)
commitc11faa4dd281ed5632fd1d032f5e951bb6a3ac05
treef7c1655636556cda99cffa9690925194b9b03b5f
parent3e0ff278ad95c970af62bf0839800c45d7a8ddbb
Inline and disable BIO_set().

BIO_set() is a dangerous function that cannot be used safely. Thankfully,
the only consumer is BIO_new(), hence inline the functionality and disable
the BIO_set() function (for complete removal in the near future).

ok tb@
lib/libcrypto/bio/bio_lib.c