Skip to content

Commit 699590b

Browse files
committed
fixup! Handle partial handshake messages
1 parent a472a8d commit 699590b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssl/ssl_quic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int SSL_provide_quic_data(SSL *ssl, OSSL_ENCRYPTION_LEVEL level,
117117
/* Check for an incomplete block */
118118
qd = ssl->quic_input_data_tail;
119119
if (qd != NULL) {
120-
l = ssl->quic_input_data_tail->length - ssl->quic_input_data_tail->offset;
120+
l = qd->length - qd->offset;
121121
if (l != 0) {
122122
/* we still need to copy `l` bytes into the last data block */
123123
if (l > len)

0 commit comments

Comments
 (0)