diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-05-26 09:46:57 -0400 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-28 16:00:47 +0100 |
commit | 9ef175148b7da12cb09f5e78f32bc6ab58d78b83 (patch) | |
tree | 5f4d9cdba0373dfbe948d06b43a177699c0a78b3 /doc | |
parent | 831eef2cf500b8a2aaee21b44986c79e62bae912 (diff) |
Add a documentation clarification suggested by Matt Caswell
Signed-off-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ssl/SSL_get_ciphers.pod | 5 |
1 files changed, 5 insertions, 0 deletions
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<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 |