diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-09-06 08:04:17 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-09-20 11:20:27 +1000 |
commit | 3432157ba1e0e29bab8bdd31d7ae728930e57c42 (patch) | |
tree | 702a3c1b7289af1d023cc6536cad0e2371454369 /ssl/ssl_lib.c | |
parent | 955c133ccccd2b6e3f5a1b1342045111fe8b3e86 (diff) |
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)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index fdc8b6b824..fec9124ce4 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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 } |