From a25563dc9b40140a9e6a9ea7971c07cb5f71ce54 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Tue, 5 Jan 2021 13:50:21 -0500 Subject: QUIC: return success when no post-handshake data (cherry picked from commit 31c23afe978ed2a046268bd43d589047a1316976) --- ssl/ssl_quic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssl/ssl_quic.c b/ssl/ssl_quic.c index f7171be140..fc6ac52102 100644 --- a/ssl/ssl_quic.c +++ b/ssl/ssl_quic.c @@ -312,6 +312,10 @@ int SSL_process_quic_post_handshake(SSL *ssl) return 0; } + /* if there is no data, return success as BoringSSL */ + if (ssl->quic_input_data_head == NULL) + return 1; + /* * This is always safe (we are sure to be at a record boundary) because * SSL_read()/SSL_write() are never used for QUIC connections -- the -- 2.35.3