Update TLS 1.3 state machine

This commit is contained in:
Zhi Guan
2026-03-17 16:51:12 +08:00
parent 3322a5fc7b
commit ead4caecb7
10 changed files with 5543 additions and 1847 deletions

View File

@@ -244,11 +244,14 @@ int _tlcp_do_connect(TLS_CONNECT *conn)
error_print();
goto end;
}
/*
if (tls_cipher_suite_in_list(cipher_suite, tlcp_ciphers, tlcp_ciphers_count) != 1) {
tls_send_alert(conn, TLS_alert_handshake_failure);
error_print();
goto end;
}
*/
if (exts) {
error_print();
tls_send_alert(conn, TLS_alert_unexpected_message);