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.
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index d990d43..1544325 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -87,6 +87,7 @@
ssl_ciphersuites.c
ssl_cli.c
ssl_cookie.c
+ ssl_msg.c
ssl_srv.c
ssl_ticket.c
ssl_tls.c
diff --git a/library/Makefile b/library/Makefile
index 6fc110c..6debdfd 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -77,6 +77,7 @@
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
diff --git a/library/ssl_msg.c b/library/ssl_msg.c
index 085a0b9..8274240 100644
--- a/library/ssl_msg.c
+++ b/library/ssl_msg.c
@@ -1,3 +1,5 @@
+#if 0
+
/*
* SSLv3/TLSv1 shared functions
*
@@ -12949,3 +12951,5 @@
MBEDTLS_SSL_PROTO_TLS1_2 */
#endif /* MBEDTLS_SSL_TLS_C */
+
+#endif /* 0 */