Update TLS 1.2

master_secret is correct, but Finished ciphertext is invalid.
This commit is contained in:
Zhi Guan
2026-05-30 08:05:44 +08:00
parent 1b8a57c4da
commit 48d1a0e079
3 changed files with 183 additions and 80 deletions

View File

@@ -7576,7 +7576,7 @@ int tls13_send_server_hello(TLS_CONNECT *conn)
tls_trace("send ServerHello\n");
if (conn->recordlen == 0) {
uint8_t exts[256];
uint8_t exts[256];// 256=> 需要的长度
uint8_t *pexts = exts;
size_t extslen = 0;