@@ -859,8 +859,20 @@ lws_create_context(const struct lws_context_creation_info *info)
859859#if defined(LWS_WITH_SCHANNEL )
860860 lwsl_cx_notice (context , "LWS: %s, SChannel, %s%s" , library_version , opts_str , s );
861861#else
862- #if defined(LWS_WITH_SSL )
862+ #if defined(LWS_WITH_TLS )
863+ #if defined(USE_WOLFSSL )
864+ lwsl_cx_notice (context , "LWS: %s, wolfSSL %s, %s%s" , library_version , wolfSSL_lib_version (), opts_str , s );
865+ #elif defined(LWS_WITH_BORINGSSL )
866+ lwsl_cx_notice (context , "LWS: %s, BoringSSL, %s%s" , library_version , opts_str , s );
867+ #elif defined(LWS_WITH_AWSLC )
868+ lwsl_cx_notice (context , "LWS: %s, AWS-LC, %s%s" , library_version , opts_str , s );
869+ #elif defined(OPENSSL_VERSION_NUMBER ) && (OPENSSL_VERSION_NUMBER >= 0x10100000L )
870+ lwsl_cx_notice (context , "LWS: %s, %s, %s%s" , library_version , OpenSSL_version (OPENSSL_VERSION ), opts_str , s );
871+ #elif defined(OPENSSL_VERSION_NUMBER )
872+ lwsl_cx_notice (context , "LWS: %s, %s, %s%s" , library_version , SSLeay_version (SSLEAY_VERSION ), opts_str , s );
873+ #else
863874 lwsl_cx_notice (context , "LWS: %s, OpenSSL, %s%s" , library_version , opts_str , s );
875+ #endif
864876#else
865877 lwsl_cx_notice (context , "LWS: %s, %s%s" , library_version , opts_str , s );
866878#endif
@@ -1305,13 +1317,15 @@ lws_create_context(const struct lws_context_creation_info *info)
13051317 context -> max_http_header_pool );
13061318#endif
13071319
1320+ #if defined(LWS_WITH_NETWORK )
13081321#if defined(LWS_WITH_SERVER )
13091322 if (info -> server_string ) {
13101323 context -> server_string = info -> server_string ;
13111324 context -> server_string_len = (short )
13121325 strlen (context -> server_string );
13131326 }
13141327#endif
1328+ #endif
13151329
13161330#if defined(LWS_WITH_NETWORK ) && LWS_MAX_SMP > 1
13171331 /* each thread serves his own chunk of fds */
0 commit comments