mysql_get_ssl_cipher
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_get_ssl_cipher - returns the cipher suite in use
#include <mysql.h>
const char *mysql_get_ssl_cipher(MYSQL *mysql)
Returns the name of the currently used cipher suite of the secure connection, or NULL for non TLS connections.
Returns a zero terminated string containing the cipher suite used for a secure connection, or NULL if connection doesn’t use TLS/SSL.