CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/12/02 12:44:04

Modified files:
        lib/libcrypto/bio: bio_lib.c bio_local.h 

Log message:
Revert bio_prev removal

As schwarze points out, you can pop any BIO in a chain, not just the first
one (bonus points for a great name for this API).

The internal doubly linked was used to fix up the BIO chain bio was part
of when you BIO_pop() a bio that wasn't in the first position, which is
explicitly allowed in our documentation and implied by OpenSSL's.

Reply via email to