From: ihciah Date: Wed, 10 May 2023 15:07:08 +0000 (+0000) Subject: fix SSL_get_wbio may return rbio on quic X-Git-Tag: openssl-3.2.0-alpha1~891 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f06e7f5a6a7451a6cbf4eb0d86ebc9bbd95c55b;p=thirdparty%2Fopenssl.git fix SSL_get_wbio may return rbio on quic CLA: trivial Reviewed-by: Hugo Landau Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20930) --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 9b543576302..ed70023bcdc 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1598,7 +1598,7 @@ BIO *SSL_get_wbio(const SSL *s) const QUIC_CONNECTION *qc = QUIC_CONNECTION_FROM_CONST_SSL(s); if (qc != NULL) - return ossl_quic_conn_get_net_rbio(qc); + return ossl_quic_conn_get_net_wbio(qc); #endif if (sc == NULL)