Hi Theo, Theo de Raadt wrote on Thu, Dec 22, 2022 at 09:42:36AM -0700:
> Hmm. Are you sure about this? Or do you have it backwards? If you harbour doubts, feel free to submit a new file /usr/src/lib/libcrypto/man/BIO_s_log.3 for review, but maybe wait three months and ten days before doing so. > Should we be re-writing libc/stdio as a layerr on top of BIO? Spectacularly good idea, but please make sure jsing@ gets professional psychological support when he is then forced to resolve the resulting circular dependencies in libcrypto/bio/bss_file.c / BIO_s_file(3). Then again, i suspect adding BIO_accept_ex(3) and friends (as documented in OpenSSL 1.1.1 doc/man3/BIO_connect.pod) to LibreSSL and then replacing the Berkeley socket(2) layer with that is an even more pressing task. Yours, Ingo >> CVSROOT: /cvs >> Module name: src >> Changes by: schwa...@cvs.openbsd.org 2022/12/22 09:38:45 >> >> Modified files: >> lib/libcrypto/man: BIO_s_null.3 >> >> Log message: >> Mark BIO_s_log(3) as intentionally undocumented. >> >> Ben Laurie invented the system logging BIO in 1999 and yet, >> nothing whatsoever uses it according to codesearch.debian.net. >> Besides, it is poorly designed and a crypto library is absolutely >> not the place for putting a clumsy system logging facility. >> Not everything needs to be a BIO!