Commit 61fd8f1
abort with illegal_parameter when SH rejects ECH after HRR accepted it
Per RFC 9849 Section 6.1.5, if HelloRetryRequest confirms ECH
acceptance, the ServerHello MUST also confirm it; otherwise the client
terminates with an illegal_parameter alert. Previously, the client
silently demoted state from ACCEPTED back to OFFERED and fell back to
the outer ClientHello.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent ba911a8 commit 61fd8f1
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2831 | 2831 | | |
2832 | 2832 | | |
2833 | 2833 | | |
2834 | | - | |
2835 | | - | |
2836 | | - | |
| 2834 | + | |
2837 | 2835 | | |
2838 | | - | |
| 2836 | + | |
| 2837 | + | |
2839 | 2838 | | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
2840 | 2844 | | |
2841 | 2845 | | |
2842 | 2846 | | |
| |||
0 commit comments