summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <walrus@mysql.com>2002-08-08 21:43:44 +0200
committerunknown <walrus@mysql.com>2002-08-08 21:43:44 +0200
commit7b2ac5736a4949853e883277f921a5a610f6bf77 (patch)
tree7e8aaafc404c2993fe5c35dd90f2c2c660ea0e97 /include
parent01a8a45f1eb70cbada195ab3c838137294b636fb (diff)
downloadmariadb-git-7b2ac5736a4949853e883277f921a5a610f6bf77.tar.gz
server-key.pem regenerated
server-cert.pem regenerated client-key.pem regenerated client-cert.pem regenerated cacert.pem regenerated sslopt-case.h changed optarg to argument, decomment --ssl-key include/sslopt-case.h: changed optarg to argument, decomment --ssl-key SSL/cacert.pem: regenerated SSL/client-cert.pem: regenerated SSL/client-key.pem: regenerated SSL/server-cert.pem: regenerated SSL/server-key.pem: regenerated
Diffstat (limited to 'include')
-rw-r--r--include/sslopt-case.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/sslopt-case.h b/include/sslopt-case.h
index e6e3a416bb0..d2799118973 100644
--- a/include/sslopt-case.h
+++ b/include/sslopt-case.h
@@ -22,25 +22,27 @@
opt_use_ssl = 1; /* true */
//QQ to be removed??? my_free(opt_ssl_key, MYF(MY_ALLOW_ZERO_PTR));
//QQ to be removed??? opt_ssl_key = my_strdup(optarg, MYF(0));
+ my_free(opt_ssl_key, MYF(MY_ALLOW_ZERO_PTR));
+ opt_ssl_key = my_strdup(argument, MYF(0));
break;
case OPT_SSL_CERT:
opt_use_ssl = 1; /* true */
my_free(opt_ssl_cert, MYF(MY_ALLOW_ZERO_PTR));
- opt_ssl_cert = my_strdup(optarg, MYF(0));
+ opt_ssl_cert = my_strdup(argument, MYF(0));
break;
case OPT_SSL_CA:
opt_use_ssl = 1; /* true */
my_free(opt_ssl_ca, MYF(MY_ALLOW_ZERO_PTR));
- opt_ssl_ca = my_strdup(optarg, MYF(0));
+ opt_ssl_ca = my_strdup(argument, MYF(0));
break;
case OPT_SSL_CAPATH:
opt_use_ssl = 1; /* true */
my_free(opt_ssl_capath, MYF(MY_ALLOW_ZERO_PTR));
- opt_ssl_capath = my_strdup(optarg, MYF(0));
+ opt_ssl_capath = my_strdup(argument, MYF(0));
break;
case OPT_SSL_CIPHER:
opt_use_ssl = 1; /* true */
my_free(opt_ssl_cipher, MYF(MY_ALLOW_ZERO_PTR));
- opt_ssl_cipher = my_strdup(optarg, MYF(0));
+ opt_ssl_cipher = my_strdup(argument, MYF(0));
break;
#endif