mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02: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:
parent
dc618494f3
commit
c4c9d4fb8c
3 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue