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

<mysql_optionsv> with <MYSQL_OPT_SSL_CIPHER>

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 3.0.2
    • 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"

      Attachments

        Activity

          People

            georg Georg Richter
            kerentchev Ivan Kerentchev
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.