Ensure we up-ref the sbio before passing it to tserver
authorMatt Caswell <matt@openssl.org>
Wed, 20 Sep 2023 15:24:37 +0000 (16:24 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 22 Sep 2023 12:56:43 +0000 (13:56 +0100)
commitf13f9b716e8b148b97dbe49e823b9dc3f235de1f
treec1a189fd1b2ebd97b916213661c781759f5ff23f
parentc29b13a7356432a0f177dd838afbec963f1d6212
Ensure we up-ref the sbio before passing it to tserver

We are actually passing two references to sbio: one as part of a BIO chain
and one stand alone. Therefore we need two references.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22157)
test/helpers/quictestlib.c