From a18a31e49d266b687f425c3c434a5aef1f719e38 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 26 Jan 2016 11:31:41 +0000 Subject: 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 --- util/ssleay.num | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') diff --git a/util/ssleay.num b/util/ssleay.num index 103d95f537..89797c5a3d 100755 --- a/util/ssleay.num +++ b/util/ssleay.num @@ -433,3 +433,5 @@ SSL_CTX_get_options 467 1_1_0 EXIST::FUNCTION: SSL_clear_options 468 1_1_0 EXIST::FUNCTION: SSL_set_options 469 1_1_0 EXIST::FUNCTION: SSL_get_options 470 1_1_0 EXIST::FUNCTION: +SSL_up_ref 471 1_1_0 EXIST::FUNCTION: +SSL_CTX_up_ref 472 1_1_0 EXIST::FUNCTION: -- cgit v1.2.3