mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
mbedtls: dont rely on potentially missing version api
https://github.com/warmcat/libwebsockets/issues/3013
This commit is contained in:
parent
57d539ef51
commit
8eb89bafb1
1 changed files with 1 additions and 8 deletions
|
@ -406,9 +406,6 @@ lws_create_context(const struct lws_context_creation_info *info)
|
||||||
#if defined(LWS_WITH_CACHE_NSCOOKIEJAR) && defined(LWS_WITH_CLIENT)
|
#if defined(LWS_WITH_CACHE_NSCOOKIEJAR) && defined(LWS_WITH_CLIENT)
|
||||||
struct lws_cache_creation_info ci;
|
struct lws_cache_creation_info ci;
|
||||||
#endif
|
#endif
|
||||||
#if defined(LWS_WITH_MBEDTLS)
|
|
||||||
char mbedtls_version[32];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
struct rlimit rt;
|
struct rlimit rt;
|
||||||
|
@ -809,11 +806,7 @@ lws_create_context(const struct lws_context_creation_info *info)
|
||||||
#endif /* network */
|
#endif /* network */
|
||||||
|
|
||||||
#if defined(LWS_WITH_MBEDTLS)
|
#if defined(LWS_WITH_MBEDTLS)
|
||||||
mbedtls_version_get_string(mbedtls_version);
|
lwsl_cx_notice(context, "LWS: %s, MbedTLS-%s %s%s", library_version, MBEDTLS_VERSION_STRING, opts_str, s);
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(LWS_WITH_MBEDTLS)
|
|
||||||
lwsl_cx_notice(context, "LWS: %s, MbedTLS-%s %s%s", library_version, mbedtls_version, opts_str, s);
|
|
||||||
#else
|
#else
|
||||||
lwsl_cx_notice(context, "LWS: %s, %s%s", library_version, opts_str, s);
|
lwsl_cx_notice(context, "LWS: %s, %s%s", library_version, opts_str, s);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue