diff options
author | miod <> | 2014-07-08 20:37:47 +0000 |
---|---|---|
committer | miod <> | 2014-07-08 20:37:47 +0000 |
commit | dece05a0d673cf7cf613a9f9fc956eceb1171e2d (patch) | |
tree | 59b12a7b46918d8ee69a39c749e7fca827b3e0b7 /src/lib | |
parent | 471cb1a71c9be6c2aa1b1c74bdd8965585a868ff (diff) | |
download | openbsd-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/lib')
-rw-r--r-- | src/lib/libssl/src/doc/ssl/SSL_CIPHER_get_name.pod | 10 |
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 | ||
30 | SSL_CIPHER_description() returns a textual description of the cipher used | 30 | SSL_CIPHER_description() returns a textual description of the cipher used |
31 | into the buffer B<buf> of length B<len> provided. B<len> must be at least | 31 | into the buffer B<buf> of length B<len> provided. |
32 | 128 bytes, otherwise a pointer to the string "Buffer too small" is | 32 | If B<buf> is NULL, a buffer is allocated using asprintf(); that |
33 | returned. If B<buf> is NULL, a buffer of 128 bytes is allocated using | 33 | buffer should be freed up using the B<free> function. |
34 | OPENSSL_malloc(). If the allocation fails, a pointer to the string | 34 | If B<len> is too small, or if B<buf> is NULL and the allocation fails, a |
35 | "OPENSSL_malloc Error" is returned. | 35 | pointer to the string "Buffer too small" is returned. |
36 | 36 | ||
37 | =head1 NOTES | 37 | =head1 NOTES |
38 | 38 | ||