[CONC-237] <mysql_optionsv> with <MYSQL_OPT_SSL_CIPHER> Created: 2017-02-19  Updated: 2017-02-21  Resolved: 2017-02-21

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2

Type: Task Priority: Minor
Reporter: Ivan Kerentchev Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

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"



 Comments   
Comment by Georg Richter [ 2017-02-21 ]

Issue was fixed already in rev. 8c34f69b335b8ebd2df5332f6b7f5817d5a67815 on Feb. 2nd

Generated at Thu Feb 08 03:03:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.