diff options
| author | miod <> | 2014-07-08 20:37:47 +0000 |
|---|---|---|
| committer | miod <> | 2014-07-08 20:37:47 +0000 |
| commit | 64ce16d45088c939c2cd0aaba0a5cca5bce8421a (patch) | |
| tree | 59b12a7b46918d8ee69a39c749e7fca827b3e0b7 | |
| parent | f1bf666db21a5c7030356939277db4532d8091e6 (diff) | |
| download | openbsd-64ce16d45088c939c2cd0aaba0a5cca5bce8421a.tar.gz openbsd-64ce16d45088c939c2cd0aaba0a5cca5bce8421a.tar.bz2 openbsd-64ce16d45088c939c2cd0aaba0a5cca5bce8421a.zip | |
Document SSL_CIPHER_description() will now use asprintf if passed a NULL
buffer.
Diffstat (limited to '')
| -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 | ||
