Commit 4252dfa
committed
Avoid sending duplicate protocol_version alert in DoTls13ClientHello.
DoTls13ClientHello was explicitly sending a protocol_version alert, then returning VERSION_ERROR which TranslateErrorToAlert then mapped to protocol_version, causing a duplicate alert to be sent.
Remove all protocol_version alerts from DoTls13ClientHello itself and instead return VERSION_ERROR and allow TranslateErrorToAlert to handle sending the alerts.
Fixes #10746.1 parent e68904e commit 4252dfa
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5452 | 5452 | | |
5453 | 5453 | | |
5454 | 5454 | | |
5455 | | - | |
5456 | 5455 | | |
5457 | 5456 | | |
5458 | 5457 | | |
| |||
5557 | 5556 | | |
5558 | 5557 | | |
5559 | 5558 | | |
5560 | | - | |
| 5559 | + | |
5561 | 5560 | | |
5562 | 5561 | | |
5563 | 5562 | | |
5564 | 5563 | | |
5565 | 5564 | | |
5566 | 5565 | | |
5567 | | - | |
| 5566 | + | |
5568 | 5567 | | |
5569 | 5568 | | |
5570 | 5569 | | |
| |||
5604 | 5603 | | |
5605 | 5604 | | |
5606 | 5605 | | |
5607 | | - | |
5608 | 5606 | | |
5609 | 5607 | | |
5610 | 5608 | | |
| |||
5623 | 5621 | | |
5624 | 5622 | | |
5625 | 5623 | | |
5626 | | - | |
5627 | 5624 | | |
5628 | 5625 | | |
5629 | 5626 | | |
5630 | 5627 | | |
5631 | 5628 | | |
5632 | 5629 | | |
5633 | | - | |
5634 | 5630 | | |
5635 | 5631 | | |
5636 | 5632 | | |
| |||
0 commit comments