[−][src]Function mesalink::libssl::ssl::mesalink_SSL_get_current_cipher
#[no_mangle] pub extern "C" fn mesalink_SSL_get_current_cipher(
ssl_ptr: *mut MESALINK_SSL
) -> *mut MESALINK_CIPHER
SSL_get_current_cipher
- returns a pointer to an SSL_CIPHER object
containing the description of the actually used cipher of a connection
established with the ssl object. See SSL_CIPHER_get_name for more details.
Note that this API allocates memory and needs to be properly freed. freed.
#include <mesalink/openssl/ssl.h>
SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);