1
0
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

This commit is contained in:
msvensson@neptunus.(none)
2006-04-10 12:23:20 +02:00
parent 042e2f811e
commit 24a6dd64b5
3 changed files with 4 additions and 3 deletions

View File

@@ -3212,9 +3212,9 @@ com_status(String *buffer __attribute__((unused)),
mysql_free_result(result);
}
#ifdef HAVE_OPENSSL
if (mysql_get_ssl_cipher(&mysql))
if ((status= mysql_get_ssl_cipher(&mysql)))
tee_fprintf(stdout, "SSL:\t\t\tCipher in use is %s\n",
mysql_get_ssl_cipher(&mysql));
status);
else
#endif /* HAVE_OPENSSL */
tee_puts("SSL:\t\t\tNot in use", stdout);