diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index d990d4320..d573691a7 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -83,10 +83,14 @@ set(src_x509
set(src_tls
debug.c
net_sockets.c
+ ssl_12_cli.c
+ ssl_12_gen.c
+ ssl_12_srv.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
diff --git a/library/Makefile b/library/Makefile
index 6fc110cee..0ba7832b3 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -75,10 +75,12 @@ OBJS_X509= certs.o pkcs11.o x509.o \
x509_csr.o x509write_crt.o x509write_csr.o
OBJS_TLS= debug.o net_sockets.o \
+ ssl_12_cli.o ssl_12_gen.o \
+ ssl_12_srv.o \
ssl_cache.o ssl_ciphersuites.o \
ssl_cli.o ssl_cookie.o \
- ssl_srv.o ssl_ticket.o \
- ssl_tls.o
+ ssl_msg.o ssl_srv.o \
+ ssl_ticket.o ssl_tls.o
INCLUDING_FROM_MBEDTLS:=1
include ../crypto/3rdparty/Makefile.inc
diff --git a/visualc/VS2010/mbedTLS.vcxproj b/visualc/VS2010/mbedTLS.vcxproj
index 2903363a8..a26a2b057 100644
--- a/visualc/VS2010/mbedTLS.vcxproj
+++ b/visualc/VS2010/mbedTLS.vcxproj
@@ -257,10 +257,14 @@
+
+
+
+