summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsmbedtls.am
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-03-07 08:49:27 -0800
committerDave Barach <openvpp@barachs.net>2018-03-08 21:53:33 +0000
commitd77eee64b17762bf21f8dbe0b9f955513f81f1a5 (patch)
treedf26a38a15be4537fec42082083b755e79418202 /src/plugins/tlsmbedtls.am
parent00f44cc1f7f3cc10c0d6b147c0bceb831a9e97fb (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/plugins/tlsmbedtls.am')
-rw-r--r--src/plugins/tlsmbedtls.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/tlsmbedtls.am b/src/plugins/tlsmbedtls.am
new file mode 100644
index 00000000000..5d1cf2b99f7
--- /dev/null
+++ b/src/plugins/tlsmbedtls.am
@@ -0,0 +1,21 @@
+# Copyright (c) 2018 Cisco Systems, Inc.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+vppplugins_LTLIBRARIES += tlsmbedtls_plugin.la
+
+tlsmbedtls_plugin_la_SOURCES = tlsmbedtls/tls_mbedtls.c
+tlsmbedtls_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lmbedtls -lmbedx509 -lmbedcrypto
+tlsmbedtls_plugin_la_CFLAGS = $(AM_CFLAGS)
+
+# vi:syntax=automake