Commit a8c8bfe
authored
Fix decrypting TLS 1.3 server response
There is at least one server that includes a new session ticket in the same packet as the Finished message. This confuses check_tls_serverhellodone() since the new session ticket is encrypted under the application traffic keys rather than the handshake keys. check_tls_serverhellodone(), being unable to decrypt the new session ticket, reports a failure and does not return any of the decrypted data.
This commit fixes the problem by having check_tls_serverhellodone() simply ignore any data that appears after the Finished message.1 parent bac8cb7 commit a8c8bfe
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11715 | 11715 | | |
11716 | 11716 | | |
11717 | 11717 | | |
| 11718 | + | |
| 11719 | + | |
11718 | 11720 | | |
11719 | 11721 | | |
11720 | 11722 | | |
| |||
0 commit comments