diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-04-05 09:06:26 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-04-05 09:06:26 +0000 |
commit | 697291b66c481c617cf9875497e2189bc4a4b096 (patch) | |
tree | 5c98c370bedd1d0b4cc456b94e1f7a8ceb080bff /util/net_help.h | |
parent | afb79913ce00d885b8b43f7478e1e054edadb567 (diff) | |
download | src-test2-697291b66c481c617cf9875497e2189bc4a4b096.tar.gz src-test2-697291b66c481c617cf9875497e2189bc4a4b096.zip |
Notes
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 */ |