From 371ca50a74a9c4f1b74c4c1b65c6fdec610fcfc3 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 21 Feb 2018 12:07:41 -0800 Subject: session: first approximation implementation of tls It consists of two main parts. First, add an application transport type whereby applications can offer transport to other applications. For instance, a tls app can offer transport services to other applications. And second, a tls transport app that leverages the mbedtls library for tls protocol implementation. Change-Id: I616996c6e6539a9e2368fab8a1ac874d7c5d9838 Signed-off-by: Florin Coras --- src/vnet.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/vnet.am') diff --git a/src/vnet.am b/src/vnet.am index 3e1bdd60165..c787eb37703 100644 --- a/src/vnet.am +++ b/src/vnet.am @@ -27,6 +27,10 @@ if WITH_LIBSSL libvnet_la_LIBADD += -lcrypto endif +if WITH_MBEDTLS +libvnet_la_LIBADD += -lmbedtls -lmbedx509 -lmbedcrypto +endif + ######################################## # Generic stuff ######################################## @@ -970,6 +974,10 @@ libvnet_la_SOURCES += \ vnet/session-apps/http_server.c \ vnet/session-apps/proxy.c +if WITH_MBEDTLS +libvnet_la_SOURCES += vnet/session-apps/tls.c +endif + nobase_include_HEADERS += \ vnet/session-apps/echo_client.h \ vnet/session-apps/proxy.h -- cgit 1.2.3-korg