Duplicate ssl_tls.c as ssl_tls_old.c and ssl_msg.c

This commit is the first in a series of commits aiming to split
the content of ssl_tls.c in two files ssl_tls.c and ssl_msg.c.

As a first step, this commit replaces ssl_tls.c by two identical
copies ssl_tls_old.c and ssl_msg.c. Even though the file
ssl_tls_old.c will subsequently be renamed back into ssl_tls.c,
this approach retains the git history in both files.
This commit is contained in:
Hanno Becker 2020-02-05 11:30:37 +00:00
parent 89490716e9
commit abd9cef520
5 changed files with 12955 additions and 3 deletions

View file

@ -89,7 +89,7 @@ set(src_tls
ssl_cookie.c
ssl_srv.c
ssl_ticket.c
ssl_tls.c
ssl_tls_old.c
)
if(CMAKE_COMPILER_IS_GNUCC)

View file

@ -78,7 +78,7 @@ OBJS_TLS= debug.o net_sockets.o \
ssl_cache.o ssl_ciphersuites.o \
ssl_cli.o ssl_cookie.o \
ssl_srv.o ssl_ticket.o \
ssl_tls.o
ssl_tls_old.o
INCLUDING_FROM_MBEDTLS:=1
include ../crypto/3rdparty/Makefile.inc

12951
library/ssl_tls_old.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -261,9 +261,10 @@
<ClCompile Include="..\..\library\ssl_ciphersuites.c" />
<ClCompile Include="..\..\library\ssl_cli.c" />
<ClCompile Include="..\..\library\ssl_cookie.c" />
<ClCompile Include="..\..\library\ssl_msg.c" />
<ClCompile Include="..\..\library\ssl_srv.c" />
<ClCompile Include="..\..\library\ssl_ticket.c" />
<ClCompile Include="..\..\library\ssl_tls.c" />
<ClCompile Include="..\..\library\ssl_tls_old.c" />
<ClCompile Include="..\..\library\x509.c" />
<ClCompile Include="..\..\library\x509_create.c" />
<ClCompile Include="..\..\library\x509_crl.c" />