Commit f6ef146
committed
EarlySanityCheckMsgReceived: version_negotiated should always be checked
Multiple handshake messages in one record will fail the MsgCheckBoundary() check on the client side when the client is set to TLS 1.3 but allows downgrading.
--> ClientHello
<-- ServerHello + rest of TLS 1.2 flight
Client returns OUT_OF_ORDER_E because in TLS 1.3 the ServerHello has to be the last message in a record. In TLS 1.2 the ServerHello can be in the same record as the rest of the server's first flight.1 parent 8a45f43 commit f6ef146
2 files changed
Lines changed: 52 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10971 | 10971 | | |
10972 | 10972 | | |
10973 | 10973 | | |
10974 | | - | |
10975 | | - | |
10976 | | - | |
10977 | | - | |
10978 | | - | |
10979 | 10974 | | |
10980 | 10975 | | |
10981 | | - | |
10982 | | - | |
10983 | | - | |
10984 | | - | |
10985 | | - | |
| 10976 | + | |
| 10977 | + | |
| 10978 | + | |
10986 | 10979 | | |
10987 | 10980 | | |
10988 | 10981 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68852 | 68852 | | |
68853 | 68853 | | |
68854 | 68854 | | |
| 68855 | + | |
| 68856 | + | |
| 68857 | + | |
| 68858 | + | |
| 68859 | + | |
| 68860 | + | |
| 68861 | + | |
| 68862 | + | |
| 68863 | + | |
| 68864 | + | |
| 68865 | + | |
| 68866 | + | |
| 68867 | + | |
| 68868 | + | |
| 68869 | + | |
| 68870 | + | |
| 68871 | + | |
| 68872 | + | |
| 68873 | + | |
| 68874 | + | |
| 68875 | + | |
| 68876 | + | |
| 68877 | + | |
| 68878 | + | |
| 68879 | + | |
| 68880 | + | |
| 68881 | + | |
| 68882 | + | |
| 68883 | + | |
| 68884 | + | |
| 68885 | + | |
| 68886 | + | |
| 68887 | + | |
| 68888 | + | |
| 68889 | + | |
| 68890 | + | |
| 68891 | + | |
| 68892 | + | |
| 68893 | + | |
| 68894 | + | |
| 68895 | + | |
| 68896 | + | |
| 68897 | + | |
| 68898 | + | |
| 68899 | + | |
| 68900 | + | |
| 68901 | + | |
| 68902 | + | |
68855 | 68903 | | |
68856 | 68904 | | |
68857 | 68905 | | |
| |||
70152 | 70200 | | |
70153 | 70201 | | |
70154 | 70202 | | |
| 70203 | + | |
70155 | 70204 | | |
70156 | 70205 | | |
70157 | 70206 | | |
| |||
0 commit comments