tls: dtls initial implementation
[vpp.git] / src / plugins / tlsopenssl / CMakeLists.txt
index ad34cfa..eb67e4c 100644 (file)
 # limitations under the License.
 
 include (CheckFunctionExists)
-if(OPENSSL_FOUND)
+if(OPENSSL_FOUND AND OPENSSL_VERSION VERSION_GREATER_EQUAL "1.1.0")
   include_directories(${OPENSSL_INCLUDE_DIR})
   add_vpp_plugin(tlsopenssl
     SOURCES
+    tls_bio.c
     tls_openssl.c
+    tls_openssl_api.c
     tls_async.c
+    dtls_bio.c
+
+    API_FILES
+    tls_openssl.api
+
+    API_TEST_SOURCES
+    tls_openssl_test.c
 
     LINK_LIBRARIES
     ${OPENSSL_LIBRARIES}