1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/tls
Andy Green 5c7b5af92a cmake: disable export visibility when building lws static
This is complicated by the fact extern on a function declaration implies
visibility... we have to make LWS_EXTERN empty when building static.

And, setting target_compile_definitions() doesn't work inside macros,
so it has to be set explicitly for the plugins.

Checking the symbol status needs nm -C -D as per

https://stackoverflow.com/questions/37934388/symbol-visibility-not-working-as-expected

after this patch, libwebsockets.a shows no symbols when checked like that and
the static-linked minimal examples only show -U for their other dynamic
imports.

In a handful of cases we use LWS_EXTERN on extern data declarations,
those then need to change to explicit extern.
2020-09-06 11:46:25 +01:00
..
mbedtls coverity: 62140: if newer mbedtls apis available use and check returns 2020-08-19 07:46:21 +01:00
openssl cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
CMakeLists.txt freertos: fixes for build on atmel xdk 2020-09-03 12:49:54 +01:00
lws-gencrypto-common.c jws: lws_gencrypto_jws_alg_to_definition needs sentinel 2020-03-21 14:43:53 +00:00
lws-genec-common.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
private-lib-tls.h cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
private-network.h cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
tls-client.c fakewsi: replace with smaller substructure 2020-07-20 06:28:52 +01:00
tls-network.c fakewsi: replace with smaller substructure 2020-07-20 06:28:52 +01:00
tls-server.c clean: SSL_accept failure just needs info logging 2020-08-31 16:51:37 +01:00
tls.c tls restriction: account for pipelining and add test 2020-03-01 08:14:43 +00:00