forked from wolfSSL/wolfssl
When adding cipherExtraData(), also account for TLSv1.3.
This commit is contained in:
@@ -19532,7 +19532,7 @@ int SendData(WOLFSSL* ssl, const void* data, int sz)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
outputSz = buffSz + COMP_EXTRA + DTLS_RECORD_HEADER_SZ;
|
outputSz = buffSz + COMP_EXTRA + DTLS_RECORD_HEADER_SZ;
|
||||||
if (IsEncryptionOn(ssl, 1))
|
if (IsEncryptionOn(ssl, 1) || ssl->options.tls1_3)
|
||||||
outputSz += cipherExtraData(ssl);
|
outputSz += cipherExtraData(ssl);
|
||||||
|
|
||||||
/* check for available size */
|
/* check for available size */
|
||||||
|
Reference in New Issue
Block a user