From 9ef175148b7da12cb09f5e78f32bc6ab58d78b83 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 26 May 2015 09:46:57 -0400 Subject: [PATCH] Add a documentation clarification suggested by Matt Caswell Signed-off-by: Matt Caswell Reviewed-by: Tim Hudson --- doc/ssl/SSL_get_ciphers.pod | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/ssl/SSL_get_ciphers.pod b/doc/ssl/SSL_get_ciphers.pod index f2a81037c0..341745436d 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 -- 2.25.1