aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nng.h b/src/nng.h
index 31b56729..05e99771 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -601,7 +601,7 @@ typedef enum nng_tls_auth_mode {
// nng_tls_config_alloc creates a TLS configuration using
// reasonable defaults. This configuration can be shared
// with multiple pipes or services/servers.
-NNG_DECL int nng_tls_config_init(nng_tls_config **, nng_tls_mode);
+NNG_DECL int nng_tls_config_alloc(nng_tls_config **, nng_tls_mode);
// nng_tls_config_free drops the reference count on the TLS
// configuration object, and if zero, deallocates it.