QUIC: Wire SSL_net_(read|write)_desired for TLS/DTLS

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21979)
This commit is contained in:
Hugo Landau 2023-09-06 08:04:17 +01:00 committed by Pauli
parent 955c133ccc
commit 3432157ba1

View File

@ -7344,11 +7344,11 @@ int SSL_net_read_desired(SSL *s)
{
#ifndef OPENSSL_NO_QUIC
if (!IS_QUIC(s))
return 0;
return SSL_want_read(s);
return ossl_quic_get_net_read_desired(s);
#else
return 0;
return SSL_want_read(s);
#endif
}
@ -7356,11 +7356,11 @@ int SSL_net_write_desired(SSL *s)
{
#ifndef OPENSSL_NO_QUIC
if (!IS_QUIC(s))
return 0;
return SSL_want_write(s);
return ossl_quic_get_net_write_desired(s);
#else
return 0;
return SSL_want_write(s);
#endif
}