From 699590bff623f131587963a17fb7805f14ddecbc Mon Sep 17 00:00:00 2001 From: Todd Short Date: Fri, 16 Aug 2019 10:48:31 -0400 Subject: [PATCH] fixup! Handle partial handshake messages --- ssl/ssl_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/ssl_quic.c b/ssl/ssl_quic.c index c3aabdf2eb6e2..a39dcbb7670bd 100644 --- a/ssl/ssl_quic.c +++ b/ssl/ssl_quic.c @@ -117,7 +117,7 @@ int SSL_provide_quic_data(SSL *ssl, OSSL_ENCRYPTION_LEVEL level, /* Check for an incomplete block */ qd = ssl->quic_input_data_tail; if (qd != NULL) { - l = ssl->quic_input_data_tail->length - ssl->quic_input_data_tail->offset; + l = qd->length - qd->offset; if (l != 0) { /* we still need to copy `l` bytes into the last data block */ if (l > len)