]> granicus.if.org Git - openssl/commit
Add SSL_up_ref() and SSL_CTX_up_ref()
authorMatt Caswell <matt@openssl.org>
Tue, 26 Jan 2016 11:31:41 +0000 (11:31 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 26 Jan 2016 13:19:10 +0000 (13:19 +0000)
commita18a31e49d266b687f425c3c434a5aef1f719e38
treef7d08fd63fcc76289537c8c357d2e38f0a900e89
parent1bca5888da944b00b7cc675d1d53a53da6d3da1a
Add SSL_up_ref() and SSL_CTX_up_ref()

The SSL and SSL_CTX structures are reference counted. However since libssl
was made opaque there is no way for users of the library to manipulate the
reference counts. This adds functions to enable that.

Reviewed-by: Stephen Henson <steve@openssl.org>
doc/ssl/SSL_CTX_new.pod
doc/ssl/SSL_new.pod
doc/ssl/ssl.pod
include/openssl/ssl.h
ssl/ssl_lib.c
util/ssleay.num