Commit 94d1bb7
committed
F-5810: require renegotiation_info on renegotiation ClientHello
The server validated client_verify_data only inside
TLSX_SecureRenegotiation_Parse, which never runs when the renegotiation_info
extension is absent, so a renegotiation ClientHello that omitted it was never
checked. Track a per-handshake renegInfoSeen flag and, after parsing the
renegotiation ClientHello extensions, abort with handshake_failure if the
extension was absent (RFC 5746 3.7). Also reject an SCSV received during
renegotiation (RFC 5746 3.5).1 parent a8696d0 commit 94d1bb7
3 files changed
Lines changed: 36 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18769 | 18769 | | |
18770 | 18770 | | |
18771 | 18771 | | |
| 18772 | + | |
| 18773 | + | |
18772 | 18774 | | |
18773 | 18775 | | |
18774 | 18776 | | |
| |||
38658 | 38660 | | |
38659 | 38661 | | |
38660 | 38662 | | |
| 38663 | + | |
| 38664 | + | |
| 38665 | + | |
| 38666 | + | |
| 38667 | + | |
| 38668 | + | |
| 38669 | + | |
| 38670 | + | |
| 38671 | + | |
| 38672 | + | |
| 38673 | + | |
38661 | 38674 | | |
38662 | 38675 | | |
38663 | 38676 | | |
| |||
38888 | 38901 | | |
38889 | 38902 | | |
38890 | 38903 | | |
| 38904 | + | |
| 38905 | + | |
| 38906 | + | |
| 38907 | + | |
| 38908 | + | |
| 38909 | + | |
| 38910 | + | |
| 38911 | + | |
| 38912 | + | |
| 38913 | + | |
| 38914 | + | |
| 38915 | + | |
| 38916 | + | |
38891 | 38917 | | |
38892 | 38918 | | |
38893 | 38919 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6142 | 6142 | | |
6143 | 6143 | | |
6144 | 6144 | | |
| 6145 | + | |
| 6146 | + | |
| 6147 | + | |
6145 | 6148 | | |
6146 | 6149 | | |
6147 | 6150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3493 | 3493 | | |
3494 | 3494 | | |
3495 | 3495 | | |
3496 | | - | |
3497 | | - | |
3498 | | - | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
3499 | 3503 | | |
3500 | 3504 | | |
3501 | 3505 | | |
3502 | | - | |
3503 | 3506 | | |
3504 | 3507 | | |
3505 | 3508 | | |
| |||
0 commit comments