forked from wolfSSL/wolfssl
Fix for case with ssl->error
not being set.
This commit is contained in:
@@ -17642,7 +17642,8 @@ int SendData(WOLFSSL* ssl, const void* data, int sz)
|
||||
if (ssl->earlyData != no_early_data) {
|
||||
if (ssl->options.handShakeState == HANDSHAKE_DONE) {
|
||||
WOLFSSL_MSG("handshake complete, trying to send early data");
|
||||
return BUILD_MSG_ERROR;
|
||||
ssl->error = BUILD_MSG_ERROR;
|
||||
return WOLFSSL_FATAL_ERROR;
|
||||
}
|
||||
#ifdef WOLFSSL_EARLY_DATA_GROUP
|
||||
groupMsgs = 1;
|
||||
|
Reference in New Issue
Block a user