Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
3.0.1
-
None
-
None
-
Linux - MySQL-Server 5.5.53
Windows 7 - MySQL-Server 5.5.48
Description
After call <mysql_optionsv> the specified cipher value for option <MYSQL_OPT_SSL_CIPHER> is not set.
How to repeat:
-------------------
MYSQL * m_MySql = mysql_init( NULL );
mysql_optionsv( m_MySql, MYSQL_OPT_SSL_CIPHER, (void *)"DHE-RSA-AES256-SHA" )
mysql_ssl_set( m_MySql, NULL, NULL, NULL, NULL, NULL )
m_MySql = mysql_real_connect
(
m_MySql,
Host,
User,
Pass,
Db,
Port,
NULL,
CLIENT_REMEMBER_OPTIONS
);
mysql_get_ssl_cipher(m_MySql);
// Returns "CALG_AES_256", but expected "DHE-RSA-AES256-SHA"