[CONC-2] No cipher parameter in mysql_ssl_set Created: 2012-12-14  Updated: 2012-12-14  Resolved: 2012-12-14

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

Type: Bug Priority: Major
Reporter: Adrian Matlack Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

Microsoft Windows 7 x64, libmariadb.dll (win32)



 Description   

The mysql_ssl_set function in libmariadb does not have a cipher parameter. This differs from the mysql c api.

From libmariadb - mysql.h:
int STDCALL mysql_ssl_set(MYSQL *mysql, const char *key,
const char *cert, const char *ca,
const char *capath);

From MySQL 5.5 documentation (http://dev.mysql.com/doc/refman/5.5/en/mysql-ssl-set.html):
my_bool mysql_ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher)

My understanding is that the API is supposed to be the same.



 Comments   
Comment by Georg Richter [ 2012-12-14 ]

This was already fixed with rev. no 17:

revno: 17
committer: Georg Richter
branch nick: mariadb-native-client
timestamp: Thu 2012-11-29 17:27:56 +0100
message:

  • Fix for mysql_stmt_next_result:
    obtain number of fields from mysql structure
    added test case (ps_new.c)
  • Added additional parameter cipher for mysql_ssl_set
  • some cosmetics for test cases
Generated at Thu Feb 08 03:02:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.