diff options
Diffstat (limited to 'src/supplemental/tls/tls_api.h')
| -rw-r--r-- | src/supplemental/tls/tls_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supplemental/tls/tls_api.h b/src/supplemental/tls/tls_api.h index 83256593..1cea7914 100644 --- a/src/supplemental/tls/tls_api.h +++ b/src/supplemental/tls/tls_api.h @@ -16,7 +16,7 @@ // The implementation supplies this function to create the TLS connection // object. All fields will be zeroed. -extern int nni_tls_dialer_alloc(nng_stream_dialer **, const nng_url *); -extern int nni_tls_listener_alloc(nng_stream_listener **, const nng_url *); +extern nng_err nni_tls_dialer_alloc(nng_stream_dialer **, const nng_url *); +extern nng_err nni_tls_listener_alloc(nng_stream_listener **, const nng_url *); #endif // NNG_SUPPLEMENTAL_TLS_TLS_API_H |
