mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
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->earlyData != no_early_data) {
|
||||||
if (ssl->options.handShakeState == HANDSHAKE_DONE) {
|
if (ssl->options.handShakeState == HANDSHAKE_DONE) {
|
||||||
WOLFSSL_MSG("handshake complete, trying to send early data");
|
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
|
#ifdef WOLFSSL_EARLY_DATA_GROUP
|
||||||
groupMsgs = 1;
|
groupMsgs = 1;
|
||||||
|
Reference in New Issue
Block a user