Skip to content

Commit

Permalink
fixup! Handle partial handshake messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tmshort committed Aug 30, 2019
1 parent a472a8d commit 699590b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/ssl_quic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 699590b

Please sign in to comment.