View | Details | Raw Unified | Return to bug 220224 | Differences between
and this patch

Collapse All | Expand All

(-)src/global/dict_mysql.c 2017-06-23 10:14:55.081609000 +0200 (-1 / +5 lines)
Lines 656-662 Link Here
656
                     dict_mysql->tls_key_file, dict_mysql->tls_cert_file,
656
                     dict_mysql->tls_key_file, dict_mysql->tls_cert_file,
657
                     dict_mysql->tls_CAfile, dict_mysql->tls_CApath,
657
                     dict_mysql->tls_CAfile, dict_mysql->tls_CApath,
658
                     dict_mysql->tls_ciphers);
658
                     dict_mysql->tls_ciphers);
659
#if MYSQL_VERSION_ID >= 50023
659
#if MYSQL_VERSION_ID >= 80000
660
    if (dict_mysql->tls_verify_cert != -1)
661
       mysql_options(host->db, MYSQL_OPT_SSL_MODE,
662
                     &dict_mysql->tls_verify_cert);
663
#elif MYSQL_VERSION_ID >= 50023
660
    if (dict_mysql->tls_verify_cert != -1)
664
    if (dict_mysql->tls_verify_cert != -1)
661
       mysql_options(host->db, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
665
       mysql_options(host->db, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
662
                     &dict_mysql->tls_verify_cert);
666
                     &dict_mysql->tls_verify_cert);

Return to bug 220224