Update TLS12

This commit is contained in:
Zhi Guan
2026-05-29 22:17:09 +08:00
parent ea8dfb4df8
commit 1b8a57c4da
8 changed files with 888 additions and 300 deletions

View File

@@ -1909,7 +1909,7 @@ int tlcp_do_connect(TLS_CONNECT *conn)
// 应该把protocol_version的初始化放在这里
conn->state = TLS_state_client_hello;
sm3_init(&conn->sm3_ctx);
//sm3_init(&conn->sm3_ctx);
while (1) {
@@ -1946,7 +1946,7 @@ int tlcp_do_accept(TLS_CONNECT *conn)
conn->state = TLS_state_client_hello;
sm3_init(&conn->sm3_ctx);
//sm3_init(&conn->sm3_ctx);
while (1) {