forked from wolfSSL/wolfssl
Code review
Add server side check
This commit is contained in:
@@ -24251,7 +24251,8 @@ int ReceiveData(WOLFSSL* ssl, byte* output, int sz, int peek)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WOLFSSL_EARLY_DATA
|
#ifdef WOLFSSL_EARLY_DATA
|
||||||
if (ssl->earlyData > early_data_ext && ssl->earlyData < done_early_data) {
|
if (ssl->options.side == WOLFSSL_SERVER_END &&
|
||||||
|
ssl->earlyData > early_data_ext && ssl->earlyData < done_early_data) {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user