Commit 8ce29c7
committed
Avoid sending duplicate protocol_version alert in DoTls13ServerHello.
DoTls13ServerHello 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 DoTls13ServerHello itself and instead return VERSION_ERROR and allow TranslateErrorToAlert to handle sending the alerts.
Fixes #10746.1 parent ed8d4a8 commit 8ce29c7
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5473 | 5473 | | |
5474 | 5474 | | |
5475 | 5475 | | |
5476 | | - | |
5477 | 5476 | | |
5478 | 5477 | | |
5479 | 5478 | | |
| |||
5610 | 5609 | | |
5611 | 5610 | | |
5612 | 5611 | | |
5613 | | - | |
| 5612 | + | |
5614 | 5613 | | |
5615 | 5614 | | |
5616 | 5615 | | |
5617 | 5616 | | |
5618 | 5617 | | |
5619 | 5618 | | |
5620 | | - | |
| 5619 | + | |
5621 | 5620 | | |
5622 | 5621 | | |
5623 | 5622 | | |
| |||
5657 | 5656 | | |
5658 | 5657 | | |
5659 | 5658 | | |
5660 | | - | |
5661 | 5659 | | |
5662 | 5660 | | |
5663 | 5661 | | |
| |||
5691 | 5689 | | |
5692 | 5690 | | |
5693 | 5691 | | |
5694 | | - | |
5695 | 5692 | | |
5696 | 5693 | | |
5697 | 5694 | | |
5698 | 5695 | | |
5699 | 5696 | | |
5700 | 5697 | | |
5701 | | - | |
5702 | 5698 | | |
5703 | 5699 | | |
5704 | 5700 | | |
| |||
0 commit comments