Commit 3889c1e0 authored by unknown's avatar unknown

mysql_test_run_new.c:

  Corrected path to SSL certificate files


mysql-test/mysql_test_run_new.c:
  Corrected path to SSL certificate files
parent 62b1f1e3
...@@ -1345,11 +1345,11 @@ void setup(char *file __attribute__((unused))) ...@@ -1345,11 +1345,11 @@ void setup(char *file __attribute__((unused)))
#endif /* HAVE_OPENSSL */ #endif /* HAVE_OPENSSL */
/* OpenSSL paths */ /* OpenSSL paths */
snprintf(ca_cert, FN_REFLEN, "%s/SSL/cacert.pem", base_dir); snprintf(ca_cert, FN_REFLEN, "%s/std_data/cacert.pem", mysql_test_dir);
snprintf(server_cert, FN_REFLEN, "%s/SSL/server-cert.pem", base_dir); snprintf(server_cert, FN_REFLEN, "%s/std_data/server-cert.pem", mysql_test_dir);
snprintf(server_key, FN_REFLEN, "%s/SSL/server-key.pem", base_dir); snprintf(server_key, FN_REFLEN, "%s/std_data/server-key.pem", mysql_test_dir);
snprintf(client_cert, FN_REFLEN, "%s/SSL/client-cert.pem", base_dir); snprintf(client_cert, FN_REFLEN, "%s/std_data/client-cert.pem", mysql_test_dir);
snprintf(client_key, FN_REFLEN, "%s/SSL/client-key.pem", base_dir); snprintf(client_key, FN_REFLEN, "%s/std_data/client-key.pem", mysql_test_dir);
/* setup files */ /* setup files */
snprintf(mysqld_file, FN_REFLEN, "%s/mysqld", bin_dir); snprintf(mysqld_file, FN_REFLEN, "%s/mysqld", bin_dir);
...@@ -1378,11 +1378,11 @@ void setup(char *file __attribute__((unused))) ...@@ -1378,11 +1378,11 @@ void setup(char *file __attribute__((unused)))
#endif /* HAVE_OPENSSL */ #endif /* HAVE_OPENSSL */
/* OpenSSL paths */ /* OpenSSL paths */
snprintf(ca_cert, FN_REFLEN, "%s/SSL/cacert.pem", base_dir); snprintf(ca_cert, FN_REFLEN, "%s/std_data/cacert.pem", mysql_test_dir);
snprintf(server_cert, FN_REFLEN, "%s/SSL/server-cert.pem", base_dir); snprintf(server_cert, FN_REFLEN, "%s/std_data/server-cert.pem", mysql_test_dir);
snprintf(server_key, FN_REFLEN, "%s/SSL/server-key.pem", base_dir); snprintf(server_key, FN_REFLEN, "%s/std_data/server-key.pem", mysql_test_dir);
snprintf(client_cert, FN_REFLEN, "%s/SSL/client-cert.pem", base_dir); snprintf(client_cert, FN_REFLEN, "%s/std_data/client-cert.pem", mysql_test_dir);
snprintf(client_key, FN_REFLEN, "%s/SSL/client-key.pem", base_dir); snprintf(client_key, FN_REFLEN, "%s/std_data/client-key.pem", mysql_test_dir);
/* setup files */ /* setup files */
#ifdef _DEBUG #ifdef _DEBUG
...@@ -1411,11 +1411,11 @@ void setup(char *file __attribute__((unused))) ...@@ -1411,11 +1411,11 @@ void setup(char *file __attribute__((unused)))
#endif /* HAVE_OPENSSL */ #endif /* HAVE_OPENSSL */
/* OpenSSL paths */ /* OpenSSL paths */
snprintf(ca_cert, FN_REFLEN, "%s/SSL/cacert.pem", base_dir); snprintf(ca_cert, FN_REFLEN, "%s/std_data/cacert.pem", mysql_test_dir);
snprintf(server_cert, FN_REFLEN, "%s/SSL/server-cert.pem", base_dir); snprintf(server_cert, FN_REFLEN, "%s/std_data/server-cert.pem", mysql_test_dir);
snprintf(server_key, FN_REFLEN, "%s/SSL/server-key.pem", base_dir); snprintf(server_key, FN_REFLEN, "%s/std_data/server-key.pem", mysql_test_dir);
snprintf(client_cert, FN_REFLEN, "%s/SSL/client-cert.pem", base_dir); snprintf(client_cert, FN_REFLEN, "%s/std_data/client-cert.pem", mysql_test_dir);
snprintf(client_key, FN_REFLEN, "%s/SSL/client-key.pem", base_dir); snprintf(client_key, FN_REFLEN, "%s/std_data/client-key.pem", mysql_test_dir);
/* setup files */ /* setup files */
snprintf(mysqld_file, FN_REFLEN, "%s/sql/mysqld", base_dir); snprintf(mysqld_file, FN_REFLEN, "%s/sql/mysqld", base_dir);
......
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