mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
SSL fixes.
client/mysql.cc: Some memory was unfreed :( include/sslopt-case.h: Oh no, this typo made capath functionality unusable vio/viossl.c: Want to debug timeout issues.
This commit is contained in:
@@ -379,6 +379,13 @@ int main(int argc,char *argv[])
|
||||
sig_handler mysql_end(int sig)
|
||||
{
|
||||
mysql_close(&mysql);
|
||||
#ifdef HAVE_OPENSSL
|
||||
my_free(opt_ssl_key,MYF(MY_ALLOW_ZERO_PTR));
|
||||
my_free(opt_ssl_cert,MYF(MY_ALLOW_ZERO_PTR));
|
||||
my_free(opt_ssl_ca,MYF(MY_ALLOW_ZERO_PTR));
|
||||
my_free(opt_ssl_capath,MYF(MY_ALLOW_ZERO_PTR));
|
||||
my_free(opt_ssl_cipher,MYF(MY_ALLOW_ZERO_PTR));
|
||||
#endif
|
||||
#ifdef HAVE_READLINE
|
||||
if (!status.batch && !quick && !opt_html && !opt_xml)
|
||||
{
|
||||
|
Reference in New Issue
Block a user