Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-50

Oracle and MariaDB API's differ in behaviour when establishing an SSL connection for a user with "REQURE SSL"

    XMLWordPrintable

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?

      Attachments

        Activity

          People

            georg Georg Richter
            Sudhindra Bhat Sudhindra Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.