diff options
Diffstat (limited to 'util/net_help.h')
| -rw-r--r-- | util/net_help.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util/net_help.h b/util/net_help.h index e0c0ebea1757..05b5087b4129 100644 --- a/util/net_help.h +++ b/util/net_help.h @@ -369,4 +369,15 @@ void* incoming_ssl_fd(void* sslctx, int fd); */ void* outgoing_ssl_fd(void* sslctx, int fd); +/** + * Initialize openssl locking for thread safety + * @return false on failure (alloc failure). + */ +int ub_openssl_lock_init(void); + +/** + * De-init the allocated openssl locks + */ +void ub_openssl_lock_delete(void); + #endif /* NET_HELP_H */ |
