Remove code from ssl_tls.c & ssl_msg.c to get disjoint functionality

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.
This commit is contained in:
Hanno Becker 2020-02-05 14:44:10 +00:00
parent 6e7051af13
commit af752d4bd6
2 changed files with 0 additions and 12877 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff