mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Update implementation of new function 'mysql_get_ssl_cipher' after review
client/mysql.cc: Only call mysql_get_ssl_cipher once, save the result in variable "status" libmysql/libmysql.def: Add new function mysql_get_ssl_cipher to exported functions in dll sql-common/client.c: Add missing return(DBUG_RETURN)
This commit is contained in:
@@ -1552,7 +1552,7 @@ mysql_get_ssl_cipher(MYSQL *mysql)
|
||||
{
|
||||
DBUG_ENTER("mysql_get_ssl_cipher");
|
||||
if (mysql->net.vio && mysql->net.vio->ssl_arg)
|
||||
SSL_get_cipher_name((SSL*)mysql->net.vio->ssl_arg);
|
||||
DBUG_RETURN(SSL_get_cipher_name((SSL*)mysql->net.vio->ssl_arg));
|
||||
DBUG_RETURN(NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user