Commit a2c85f37 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Merge branch '10.7' into 10.8

parents 33825755 5e196a7b
Subproject commit 1071ce954807104d25c0951f422e83d5e17406fe Subproject commit 5923beeab9397aa22563ff7b1f0f31ad8054bae6
...@@ -1968,8 +1968,11 @@ int spider_db_mbase::connect( ...@@ -1968,8 +1968,11 @@ int spider_db_mbase::connect(
conn->tgt_ssl_cert_length | conn->tgt_ssl_cert_length |
conn->tgt_ssl_key_length conn->tgt_ssl_key_length
) { ) {
mysql_ssl_set(db_conn, conn->tgt_ssl_key, conn->tgt_ssl_cert, mysql_options(db_conn, MYSQL_OPT_SSL_KEY, conn->tgt_ssl_key);
conn->tgt_ssl_ca, conn->tgt_ssl_capath, conn->tgt_ssl_cipher); mysql_options(db_conn, MYSQL_OPT_SSL_CERT, conn->tgt_ssl_cert);
mysql_options(db_conn, MYSQL_OPT_SSL_CA, conn->tgt_ssl_ca);
mysql_options(db_conn, MYSQL_OPT_SSL_CAPATH, conn->tgt_ssl_capath);
mysql_options(db_conn, MYSQL_OPT_SSL_CIPHER, conn->tgt_ssl_cipher);
if (conn->tgt_ssl_vsc) if (conn->tgt_ssl_vsc)
{ {
my_bool verify_flg = TRUE; my_bool verify_flg = TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment