Commit 2ab0f31
committed
Mitigate inconsistent test results for ROBOT (3.2)
As reported a longer while back in #2083 there were trailing bytes when receiving a TLS alert by the ROBOT check.
This PR corrects and thus normalizes the length of the TLS alert message to the correct value, supposed the length in the TLS alert is two bytes and it is an TLS alert. PR for 3.3dev was #2969 .
Also this PR now uses a separate variable for the timeout. Using a separate global variable may offer some possibility for tuning the check when the latency to the target is high. This is still subject of research.
The variable is 10 seconds here to be in line with MAX_WAITSOCK which (name) was used previously.1 parent e456679 commit 2ab0f31
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
20400 | 20401 | | |
20401 | 20402 | | |
20402 | 20403 | | |
20403 | | - | |
| 20404 | + | |
20404 | 20405 | | |
20405 | 20406 | | |
20406 | 20407 | | |
| |||
20571 | 20572 | | |
20572 | 20573 | | |
20573 | 20574 | | |
| 20575 | + | |
| 20576 | + | |
| 20577 | + | |
| 20578 | + | |
| 20579 | + | |
20574 | 20580 | | |
20575 | 20581 | | |
20576 | 20582 | | |
| |||
0 commit comments