Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Windows build , MariaDB client library revision 84.
Description
mysql_ssl_set(mysql, NULL,NULL,NULL, NULL, NULL);
or
mysql_ssl_set(mysql, NULL,NULL,"some_invalid_value", NULL, NULL);
followed by,
mysql_real_connect(mysql, host, user, passwd, db, port, unix_socket, clientflag);
The above mentioned code successfully establishes MySql connection for a user with "REQUIRE SSL" using MariaDB API where as Oracle API returns error 2026 if the ca field is NULL or if the ca-certificate is invalid as mentioned in the code above.
I have found the following bug report in MySql bug database:
http://bugs.mysql.com/bug.php?id=62743
Could you clarify the discussion that followed in the above bug report,if it is a bug or not?
And Hence is the current behaviour of the client library correct?