Unify <TYPE>_up_ref methods signature and behaviour.
[openssl.git] / doc / ssl / SSL_CTX_new.pod
index f2cdc717ef4f1bc1f9c2051daf06e031b743b502..8f232a0c6f290d87be79a19cd777c6d461ef4855 100644 (file)
@@ -17,7 +17,7 @@ functions
  #include <openssl/ssl.h>
 
  SSL_CTX *SSL_CTX_new(const SSL_METHOD *method);
void SSL_CTX_up_ref(SSL_CTX *ctx);
int SSL_CTX_up_ref(SSL_CTX *ctx);
 
  const SSL_METHOD *TLS_method(void);
  const SSL_METHOD *TLS_server_method(void);
@@ -184,6 +184,8 @@ the reason.
 
 The return value points to an allocated SSL_CTX object.
 
+SSL_CTX_up_ref() returns 1 for success and 0 for failure.
+
 =back
 
 =head1 HISTORY