Skip to content
Commit eddef305 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix BIO_push ref counting for SSL BIO



When pushing a BIO onto an SSL BIO we set the rbio and wbio for the SSL
object to be the BIO that has been pushed. Therefore we need to up the ref
count for that BIO. The existing code was uping the ref count on the wrong
BIO.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 8e3854ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment