tls: dtls initial implementation
[vpp.git] / src / plugins / tlsopenssl / CMakeLists.txt
index 07b587b..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
 
-    INSTALL_HEADERS
-    tls_openssl_all_api_h.h
-    tls_openssl_msg_enum.h
-
     API_TEST_SOURCES
     tls_openssl_test.c