mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
This commit is contained in:
@ -8707,11 +8707,10 @@ static int SendHandshakeMsg(WOLFSSL* ssl, byte* input, word32 inputSz,
|
||||
outputSz += cipherExtraData(ssl);
|
||||
if ((ret = CheckAvailableSize(ssl, outputSz)) != 0)
|
||||
return ret;
|
||||
if (ssl->buffers.outputBuffer.buffer == NULL)
|
||||
return MEMORY_E;
|
||||
output = ssl->buffers.outputBuffer.buffer +
|
||||
ssl->buffers.outputBuffer.length;
|
||||
/* scan-build complains that this may be null */
|
||||
if (output == NULL)
|
||||
return MEMORY_E;
|
||||
|
||||
if (IsEncryptionOn(ssl, 1)) {
|
||||
/* First we need to add the fragment header ourselves.
|
||||
|
Reference in New Issue
Block a user