Add a documentation clarification suggested by Matt Caswell
Signed-off-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
831eef2cf5
commit
9ef175148b
@ -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
|
Call SSL_get_cipher_list() with B<priority> starting from 0 to obtain the
|
||||||
sorted list of available ciphers, until NULL is returned.
|
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
|
=head1 RETURN VALUES
|
||||||
|
|
||||||
See DESCRIPTION
|
See DESCRIPTION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user