|
If we look at the mariadb_defaults[] array that's used to parse options from my.cnf or other option/configuration files, it looks like some TLS-related options are not settable in these files.
For example, here's the array in 3.0:
https://github.com/MariaDB/mariadb-connector-c/blob/68d05007bbf0dd9ef725bddf312fbb72ed0c7d52/libmariadb/mariadb_lib.c#L608
And here's the array in 3.1:
https://github.com/MariaDB/mariadb-connector-c/blob/af47d1beab92970f1d79824e29e4c36f89400584/libmariadb/mariadb_lib.c#L606
Some options that are not listed are:
- MYSQL_OPT_SSL_CRL
- MYSQL_OPT_SSL_CRLPATH
- MYSQL_OPT_SSL_ENFORCE
- MARIADB_OPT_TLS_CIPHER_STRENGTH
- MARIADB_OPT_TLS_PEER_FP
- MARIADB_OPT_TLS_PEER_FP_LIST
Does it make sense to add some or all of these to the mariadb_defaults[] array?
|