From dece05a0d673cf7cf613a9f9fc956eceb1171e2d Mon Sep 17 00:00:00 2001 From: miod <> Date: Tue, 8 Jul 2014 20:37:47 +0000 Subject: Document SSL_CIPHER_description() will now use asprintf if passed a NULL buffer. --- src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod b/src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod index c56e8f49d9..fbade905f3 100644 --- a/src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod +++ b/src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod @@ -28,11 +28,11 @@ SSL_CIPHER_get_version() returns the protocol version for B, currently "SSLv2", "SSLv3", or "TLSv1". If B is NULL, "(NONE)" is returned. SSL_CIPHER_description() returns a textual description of the cipher used -into the buffer B of length B provided. B must be at least -128 bytes, otherwise a pointer to the string "Buffer too small" is -returned. If B is NULL, a buffer of 128 bytes is allocated using -OPENSSL_malloc(). If the allocation fails, a pointer to the string -"OPENSSL_malloc Error" is returned. +into the buffer B of length B provided. +If B is NULL, a buffer is allocated using asprintf(); that +buffer should be freed up using the B function. +If B is too small, or if B is NULL and the allocation fails, a +pointer to the string "Buffer too small" is returned. =head1 NOTES -- cgit v1.2.3-55-g6feb