Commit 3209d26
committed
Improve TLS 1.3 early data handling.
Introduce `clientInEarlyData` to only return when in `wolfSSL_read_early_data`. This makes sure that other API don't return `ZERO_RETURN` when not in `wolfSSL_read_early_data`. Chose `APP_DATA_READY` as it won't result in a false positive return from `wolfSSL_read_early_data`.1 parent d456784 commit 3209d26
4 files changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22842 | 22842 | | |
22843 | 22843 | | |
22844 | 22844 | | |
22845 | | - | |
22846 | | - | |
| 22845 | + | |
| 22846 | + | |
22847 | 22847 | | |
22848 | 22848 | | |
22849 | 22849 | | |
| |||
22889 | 22889 | | |
22890 | 22890 | | |
22891 | 22891 | | |
22892 | | - | |
| 22892 | + | |
| 22893 | + | |
22893 | 22894 | | |
22894 | 22895 | | |
22895 | 22896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | 611 | | |
617 | 612 | | |
618 | 613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15092 | 15092 | | |
15093 | 15093 | | |
15094 | 15094 | | |
| 15095 | + | |
15095 | 15096 | | |
| 15097 | + | |
15096 | 15098 | | |
15097 | 15099 | | |
15098 | | - | |
| 15100 | + | |
| 15101 | + | |
15099 | 15102 | | |
15100 | 15103 | | |
15101 | 15104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5083 | 5083 | | |
5084 | 5084 | | |
5085 | 5085 | | |
| 5086 | + | |
| 5087 | + | |
| 5088 | + | |
| 5089 | + | |
5086 | 5090 | | |
5087 | 5091 | | |
5088 | 5092 | | |
| |||
0 commit comments