mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
fix SSL_get_wbio may return rbio on quic
CLA: trivial Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20930)
This commit is contained in:
parent
be6497aa20
commit
0f06e7f5a6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user