OpenSSL is ending support for version 1.0.1 in December 2016; see https://www.openssl.org/policies/releasestrat.html. Consequently, Connector/C Commercial builds now use version 1.0.2 rather than version 1.0.1, and the linked OpenSSL library for the Connector/C Commercial has been updated from version 1.0.1 to version 1.0.2j. For a description of issues fixed in this version, see https://www.openssl.org/news/vulnerabilities.html.
This change does not affect Oracle-produced MySQL Community builds of Connector/C, which use the yaSSL library instead. (Bug #24753384)
MYSQL_OPT_TLS_VERSIONoption is available for the
mysql_options()C API function to indicate the protocols the client permits for encrypted connections.
For more information, see mysql_options(). (Bug #22932026)
MYSQL_OPT_SSL_MODEoption is available for the
mysql_options()C API function to indicate the security state to use for the connection to the server.
For more information, see mysql_options(). (Bug #22931973)
Previously, Connector/C permitted user names up to a maximum of 16 characters. Connector/C now permits longer user names (up to 32 characters) if the server does. (Bug #22931954)
Connector/C now includes support for the server GTID session tracker, introduced in MySQL 5.7.6. This tracker is exposed through the
session_track_gtidssystem variable. (Bug #21040741)
Connector/C now includes support for additional ranges of server errors, introduced in MySQL 5.7.6. (Bug #21040703)