From ec5e0e3e5183abe18687101ae3dfd751fa180df7 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 28 Aug 2017 21:06:20 +0800 Subject: [PATCH] mbedtls: log if we are using it --- lib/ssl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ssl.c b/lib/ssl.c index 326ef2ce..fd5954c3 100644 --- a/lib/ssl.c +++ b/lib/ssl.c @@ -303,9 +303,13 @@ lws_context_init_ssl_library(struct lws_context_creation_info *info) #else #if defined(LWS_USE_BORINGSSL) lwsl_notice(" Compiled with BoringSSL support\n"); +#else +#if defined(LWS_USE_MBEDTLS) + lwsl_notice(" Compiled with MbedTLS support\n"); #else lwsl_notice(" Compiled with OpenSSL support\n"); #endif +#endif #endif if (!lws_check_opt(info->options, LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT)) { lwsl_notice(" SSL disabled: no LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT\n");