mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-06 20:46:32 +02:00
This commit is the first step in implementing the TLS handshake logic and the low-level (D)TLS messaging functionality (record layer and retransmission state machine) in separate source files. So far, they're both implemented in ssl_tls.c. To begin, this commit creates unmodified copies ssl_tls_old.c and ssl_msg.c of ssl_tls.c, which in turn is deleted. Subsequent commits will then rename ssl_tls_old.c back into ssl_tls.c and remove code so that each piece of functionality is contained in precisely one of ssl_tls.c or ssl_msg.c. This approach allows to maintain the git line history.