diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 9b54357630..ed70023bcd 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)