af752d4bd6
This commit is the final step in separating the functionality of what was originally ssl_tls.c into both ssl_tls.c and ssl_msg.c. So far, ssl_msg.c has been created as an identical copy of ssl_tls.c. For each block of code in these files, this commit removes it from precisely one of the two files, depending on where the respective functionality belongs. The splitting separates the following functionalities: 1) An implementation of the TLS and DTLS messaging layer, that is, the record layer as well as the DTLS retransmission state machine. This is now contained in ssl_msg.c 2) Handshake parsing and writing functions shared between client and server (functions specific to either client or server are implemented in ssl_cli.c and ssl_srv.c, respectively). This is remains in ssl_tls.c. |
||
---|---|---|
.. | ||
.gitignore | ||
certs.c | ||
CMakeLists.txt | ||
debug.c | ||
error.c | ||
Makefile | ||
net_sockets.c | ||
pkcs11.c | ||
ssl_cache.c | ||
ssl_ciphersuites.c | ||
ssl_cli.c | ||
ssl_cookie.c | ||
ssl_msg.c | ||
ssl_srv.c | ||
ssl_ticket.c | ||
ssl_tls.c | ||
version.c | ||
version_features.c | ||
x509.c | ||
x509_create.c | ||
x509_crl.c | ||
x509_crt.c | ||
x509_csr.c | ||
x509write_crt.c | ||
x509write_csr.c |