Code review

Add server side check
pull/7102/head
Juliusz Sosinowicz 2024-01-04 13:19:36 +01:00
parent 5bdcfaa5d0
commit 14c812cdb7
1 changed files with 2 additions and 1 deletions

View File

@ -24251,7 +24251,8 @@ int ReceiveData(WOLFSSL* ssl, byte* output, int sz, int peek)
}
#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
#endif