diff --git a/doc/ssl/SSL_get_ciphers.pod b/doc/ssl/SSL_get_ciphers.pod index f2a81037c04ae46f57347384ddccb6732ddf5b66..341745436d16a609e7af7f5fd6c096ca86d00ae3 100644 --- a/doc/ssl/SSL_get_ciphers.pod +++ b/doc/ssl/SSL_get_ciphers.pod @@ -35,6 +35,11 @@ the L family of functions. Call SSL_get_cipher_list() with B starting from 0 to obtain the sorted list of available ciphers, until NULL is returned. +Note: SSL_get_ciphers() and SSL_get_client_ciphers() return a pointer +to an internal cipher stack, which will be freed later on when the SSL +or SSL_SESSION object is freed. Therefore, the calling code B free the return value itself. + =head1 RETURN VALUES See DESCRIPTION