1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00

Add new function mysql_get_ssl_cipher to libmysl and use it from client to avoid dependency on SSL libs from mysql client.

include/mysql.h:
  Add new function mysql_get_ssl_cipher
sql-common/client.c:
  Add new function mysql_get_ssl_cipher, will return the cipher used for the current connection to the server.
This commit is contained in:
unknown
2006-04-07 11:26:21 +02:00
parent 07302c6007
commit 80eccf26cd
3 changed files with 24 additions and 3 deletions

View File

@@ -409,6 +409,7 @@ MYSQL * STDCALL mysql_init(MYSQL *mysql);
my_bool STDCALL mysql_ssl_set(MYSQL *mysql, const char *key,
const char *cert, const char *ca,
const char *capath, const char *cipher);
const char * STDCALL mysql_get_ssl_cipher(MYSQL *mysql);
my_bool STDCALL mysql_change_user(MYSQL *mysql, const char *user,
const char *passwd, const char *db);
MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host,