mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge ramayana.hindu.god:/home/tsmith/m/bk/50
into ramayana.hindu.god:/home/tsmith/m/bk/maint/50
This commit is contained in:
@@ -1739,12 +1739,13 @@ static bool show_status_array(THD *thd, const char *wild,
|
||||
if (thd->net.vio->ssl_arg)
|
||||
{
|
||||
char *to= buff;
|
||||
for (int i=0 ; i++ ;)
|
||||
char *buff_end= buff + sizeof(buff);
|
||||
for (int i= 0; to < buff_end; i++)
|
||||
{
|
||||
const char *p= SSL_get_cipher_list((SSL*) thd->net.vio->ssl_arg,i);
|
||||
if (p == NULL)
|
||||
break;
|
||||
to= strmov(to, p);
|
||||
to= strnmov(to, p, buff_end-to-1);
|
||||
*to++= ':';
|
||||
}
|
||||
if (to != buff)
|
||||
|
||||
Reference in New Issue
Block a user