MDEV-25511: Command line tools don't support CRL parameters

Enable CRL support for GnuTLS (which was implemented by CONC-433).
This commit is contained in:
Georg Richter 2021-05-31 08:29:37 +02:00
parent 904edfd24b
commit be8e51c459

View file

@ -29,10 +29,15 @@
One can disable SSL later by using --skip-ssl or --ssl=0
*/
opt_use_ssl= 1;
#if defined (HAVE_WOLFSSL) && (!defined (_WIN32) || defined (MYSQL_SERVER))
/* CRL does not work with WolfSSL */
#if defined (HAVE_WOLFSSL)
#if defined(MYSQL_SERVER)
/* CRL does not work with WolfSSL (server) */
opt_ssl_crl= NULL;
#endif
#if !defined(_WIN32) || !defined(LIBMARIADB)
/* CRL_PATH does not work with WolfSSL (server) and GnuTLS (client) */
opt_ssl_crlpath= NULL;
#endif
#endif
break;
#endif