Write a human-readable description of a cipher suite into a buffer.
Declared in <openssl/ssl.h>
char*
SSL_CIPHER_description(
SSL_CIPHER const* cipher,
char* buf,
int size);
Pointer to the NUL-terminated description (possibly newly allocated), or NULL on error / undersized buffer.
| Name | Description |
|---|---|
| cipher | Cipher suite to describe. |
| buf | Destination buffer of at least 128 bytes, or NULL to allocate with OPENSSL_malloc (caller frees). |
| size | Capacity of buf in bytes when buf is non-NULL. |