summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2014-07-08 20:37:47 +0000
committermiod <>2014-07-08 20:37:47 +0000
commitdece05a0d673cf7cf613a9f9fc956eceb1171e2d (patch)
tree59b12a7b46918d8ee69a39c749e7fca827b3e0b7 /src
parent471cb1a71c9be6c2aa1b1c74bdd8965585a868ff (diff)
downloadopenbsd-dece05a0d673cf7cf613a9f9fc956eceb1171e2d.tar.gz
openbsd-dece05a0d673cf7cf613a9f9fc956eceb1171e2d.tar.bz2
openbsd-dece05a0d673cf7cf613a9f9fc956eceb1171e2d.zip
Document SSL_CIPHER_description() will now use asprintf if passed a NULL
buffer.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod10
1 files changed, 5 insertions, 5 deletions
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<cipher>, currently
28"SSLv2", "SSLv3", or "TLSv1". If B<cipher> is NULL, "(NONE)" is returned. 28"SSLv2", "SSLv3", or "TLSv1". If B<cipher> is NULL, "(NONE)" is returned.
29 29
30SSL_CIPHER_description() returns a textual description of the cipher used 30SSL_CIPHER_description() returns a textual description of the cipher used
31into the buffer B<buf> of length B<len> provided. B<len> must be at least 31into the buffer B<buf> of length B<len> provided.
32128 bytes, otherwise a pointer to the string "Buffer too small" is 32If B<buf> is NULL, a buffer is allocated using asprintf(); that
33returned. If B<buf> is NULL, a buffer of 128 bytes is allocated using 33buffer should be freed up using the B<free> function.
34OPENSSL_malloc(). If the allocation fails, a pointer to the string 34If B<len> is too small, or if B<buf> is NULL and the allocation fails, a
35"OPENSSL_malloc Error" is returned. 35pointer to the string "Buffer too small" is returned.
36 36
37=head1 NOTES 37=head1 NOTES
38 38