From 31c23afe978ed2a046268bd43d589047a1316976 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Tue, 5 Jan 2021 13:50:21 -0500 Subject: [PATCH] QUIC: return success when no post-handshake data --- ssl/ssl_quic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssl/ssl_quic.c b/ssl/ssl_quic.c index 09e523a35ef58..1d44beba442b8 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