diff options
author | Florin Coras <fcoras@cisco.com> | 2018-03-07 08:49:27 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-03-08 21:53:33 +0000 |
commit | d77eee64b17762bf21f8dbe0b9f955513f81f1a5 (patch) | |
tree | df26a38a15be4537fec42082083b755e79418202 /src/vnet.am | |
parent | 00f44cc1f7f3cc10c0d6b147c0bceb831a9e97fb (diff) |
tls: make tls engines pluggable
- add infra for pluggable tls "engines"
- makes mbedtls specific code a plugin
Change-Id: I2c5b099e2b69d2be0038e3ef02b208ff907727e7
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet.am')
-rw-r--r-- | src/vnet.am | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/vnet.am b/src/vnet.am index e1e69b1827c..a08b4bb5108 100644 --- a/src/vnet.am +++ b/src/vnet.am @@ -27,10 +27,6 @@ if WITH_LIBSSL libvnet_la_LIBADD += -lcrypto endif -if WITH_MBEDTLS -libvnet_la_LIBADD += -lmbedtls -lmbedx509 -lmbedcrypto -endif - ######################################## # Generic stuff ######################################## @@ -976,15 +972,20 @@ 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 ######################################## +# TLS protocol +######################################## + +libvnet_la_SOURCES += vnet/tls/tls.c + +nobase_include_HEADERS += \ + vnet/tls/tls.h + +######################################## # Linux packet interface ######################################## |