Details
-
Task
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
3.0.8
-
None
-
None
-
None
Description
In Microsoft's Schannel documentation, TLS ciphers are listed with their IANA names:
https://docs.microsoft.com/en-us/windows/desktop/secauthn/tls-cipher-suites-in-windows-10-v1809
The MariaDB Connector/C code stores these IANA names as the iana_name C-string in the cipher_map[] array that is used to map cipher strings to specific ALG_ID values:
However, the set_cipher function ignores the iana_name C-string when parsing ssl-cipher/MYSQL_OPT_SSL_CIPHER. It only looks at the openssl_name C-string:
Should we change MariaDB Connector/C to allow the IANA names of ciphers in ssl-cipher/MYSQL_OPT_SSL_CIPHER when using Schannel, if the names are already stored in the cipher_map[] array?