summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Lasch <marc.lasch@husqvarnagroup.com>2024-04-08 13:35:01 +0200
committerGarrett D'Amore <garrett@damore.org>2024-04-13 20:43:47 -0700
commit1342d1b780501525534bcd167ea7fc1e4479d76d (patch)
tree970a22478a059c7519a7f5f9ead93de7f3a889a8
parent9e2403302e890f96f7e9d9f65355ad993fbfa24d (diff)
downloadnng-1342d1b780501525534bcd167ea7fc1e4479d76d.tar.gz
nng-1342d1b780501525534bcd167ea7fc1e4479d76d.tar.bz2
nng-1342d1b780501525534bcd167ea7fc1e4479d76d.zip
Add missing `nng_tls_config_hold` stub function
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. 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 ```
-rw-r--r--src/supplemental/tls/tls_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/supplemental/tls/tls_common.c b/src/supplemental/tls/tls_common.c
index 9c556fd5..55fed7dc 100644
--- a/src/supplemental/tls/tls_common.c
+++ b/src/supplemental/tls/tls_common.c
@@ -1644,6 +1644,12 @@ nng_tls_config_alloc(nng_tls_config **cfgp, nng_tls_mode mode)
}
void
+nng_tls_config_hold(nng_tls_config *cfg)
+{
+ NNI_ARG_UNUSED(cfg);
+}
+
+void
nng_tls_config_free(nng_tls_config *cfg)
{
NNI_ARG_UNUSED(cfg);