Commit bc3a812
David Cooper
Avoid ClientHello size bug
As described in testssl#1113, some servers will fail if the length of the ClientHello message is 522, 778, 1034, ... bytes (i.e., if length mod 256 = 10) or 526, 782, 1038, ... bytes (i.e., if length mod 256 = 14). This commit avoid this issue for normal testing by adding a 5-byte padding extension to the message if the length would otherwise be one of these lengths.1 parent 15261b2 commit bc3a812
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11841 | 11841 | | |
11842 | 11842 | | |
11843 | 11843 | | |
| 11844 | + | |
| 11845 | + | |
| 11846 | + | |
| 11847 | + | |
| 11848 | + | |
| 11849 | + | |
| 11850 | + | |
11844 | 11851 | | |
11845 | 11852 | | |
11846 | 11853 | | |
| |||
0 commit comments