Add a documentation clarification suggested by Matt Caswell
authorNick Mathewson <nickm@torproject.org>
Tue, 26 May 2015 13:46:57 +0000 (09:46 -0400)
committerMatt Caswell <matt@openssl.org>
Thu, 28 May 2015 15:00:47 +0000 (16:00 +0100)
Signed-off-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
doc/ssl/SSL_get_ciphers.pod

index f2a81037c04ae46f57347384ddccb6732ddf5b66..341745436d16a609e7af7f5fd6c096ca86d00ae3 100644 (file)
@@ -35,6 +35,11 @@ the L<SSL_CIPHER_get_name(3)|SSL_CIPHER_get_name(3)> family of functions.
 Call SSL_get_cipher_list() with B<priority> 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<MUST
+NOT> free the return value itself.
+
 =head1 RETURN VALUES
 
 See DESCRIPTION