Handle SSL_do_handshake() being called before SSL_provide_quic_data().
authorjsing <jsing@openbsd.org>
Sat, 27 Aug 2022 09:12:55 +0000 (09:12 +0000)
committerjsing <jsing@openbsd.org>
Sat, 27 Aug 2022 09:12:55 +0000 (09:12 +0000)
commit475112fd38b66d68bc7c2bc6ec19735652cf6aae
tree2de56693b4acc00e18f02512c6f68a02c24d70d8
parente21047e536550273559fd54a299e7ff197a16565
Handle SSL_do_handshake() being called before SSL_provide_quic_data().

If SSL_do_handshake() is called before SSL_provide_quic_data() has been
called, the QUIC read buffer will not have been initialised. In this case
we want to return TLS13_IO_WANT_POLLIN so that the QUIC stack will provide
handshake data.
lib/libssl/tls13_quic.c