tls: enable tls engine as the default engine 69/22869/2
authorYu Ping <ping.yu@intel.com>
Mon, 21 Oct 2019 15:23:44 +0000 (23:23 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 21 Oct 2019 23:33:47 +0000 (23:33 +0000)
OpenSSL TLS is well maintained and many issues are fixed, and it makes
OpenSSL as the default engine will be more friendly to users if app does
not configure a specific engine such as http_static

Type: fix

Change-Id: I37499af1edd40ffb53b00436044d1fce3b43348d
Signed-off-by: Yu Ping <ping.yu@intel.com>
src/vnet/session/application_interface.h

index f73cd0a..74bca80 100644 (file)
@@ -162,8 +162,8 @@ typedef struct _vnet_application_add_tls_key_args_t
 typedef enum crypto_engine_type_
 {
   CRYPTO_ENGINE_NONE,
-  CRYPTO_ENGINE_MBEDTLS,
   CRYPTO_ENGINE_OPENSSL,
+  CRYPTO_ENGINE_MBEDTLS,
   CRYPTO_ENGINE_VPP,
   CRYPTO_ENGINE_PICOTLS,
   CRYPTO_ENGINE_LAST = CRYPTO_ENGINE_PICOTLS,