nanomsg / nng

nanomsg-next-generation -- light-weight brokerless messaging
https://nng.nanomsg.org
MIT License
3.78k stars 485 forks source link

Add missing `nng_tls_config_hold` stub function #1803

Closed mlasch closed 5 months ago

mlasch commented 5 months ago

Add the missing stub function implementation for nng_tls_config_hold(). Fixes an error when loading the library and expecting to have this symbol available.

Build with -DBUILD_SHARED_LIBS=ON

The availability of the symbol can be checked with nm:

nm -D cmake-build-release/libnng.so.1.7.3  | grep nng_tls_config_hold