[−][src]Function tabbyssl::libssl::ssl::tabby_SSL_get_current_cipher
#[no_mangle]pub extern "C" fn tabby_SSL_get_current_cipher(
ssl_ptr: *mut TABBY_SSL
) -> *mut TABBY_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 <tabbyssl/openssl/ssl.h>
SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);