Commit 9ef17514 authored by Nick Mathewson's avatar Nick Mathewson Committed by Matt Caswell
Browse files

Add a documentation clarification suggested by Matt Caswell



Signed-off-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent 831eef2c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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