Add guarded ssl_msg.c to Makefiles

This commit adds the newly created copy ssl_msg.c of ssl_tls.c
to the build system but guards its content by an `#if 0 ... #endif`
preprocessor guard in order to avoid compilation failures resulting
from code duplication. This guard will be removed once the contents
of ssl_tls.c and ssl_msg.c have been made disjoint.
This commit is contained in:
Hanno Becker 2020-02-05 11:33:54 +00:00
parent 471c0c98f6
commit 6e7051af13
3 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,7 @@ set(src_tls
ssl_ciphersuites.c
ssl_cli.c
ssl_cookie.c
ssl_msg.c
ssl_srv.c
ssl_ticket.c
ssl_tls.c

View File

@ -77,6 +77,7 @@ OBJS_X509= certs.o pkcs11.o x509.o \
OBJS_TLS= debug.o net_sockets.o \
ssl_cache.o ssl_ciphersuites.o \
ssl_cli.o ssl_cookie.o \
ssl_msg.o \
ssl_srv.o ssl_ticket.o \
ssl_tls.o

View File

@ -1,3 +1,5 @@
#if 0
/*
* SSLv3/TLSv1 shared functions
*
@ -12949,3 +12951,5 @@ exit:
MBEDTLS_SSL_PROTO_TLS1_2 */
#endif /* MBEDTLS_SSL_TLS_C */
#endif /* 0 */