List:Commits« Previous MessageNext Message »
From:msvensson Date:May 31 2006 2:28pm
Subject:bk commit into 5.0 tree (msvensson:1.2155) BUG#20022
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository

  1.2155 06/05/31 16:28:03 msvensson@shellback.(none) +1 -0
  Bug#20022 mysql-test-run can't be run with secure connections turned on for all testcases
   - Part 1, fixes rpl- and federated-tests where connection is made to

    1.237 06/05/31 16:27:57 msvensson@shellback.(none) +3 -0
    Turn on ssl_verify_server_cert only if host is "localhost"

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	shellback.(none)
# Root:	/home/msvensson/mysql/mysql-5.0

--- 1.236/client/mysqltest.c	2006-05-09 08:26:19 +02:00
+++ 1.237/client/mysqltest.c	2006-05-31 16:27:57 +02:00
@@ -2381,6 +2381,9 @@
   if (opt_use_ssl || con_ssl)
+    /* Turn on ssl_verify_server_cert only if host is "localhost" */
+    opt_ssl_verify_server_cert= !strcmp(con_host, "localhost");
     mysql_ssl_set(&next_con->mysql, opt_ssl_key, opt_ssl_cert, opt_ssl_ca,
 		  opt_ssl_capath, opt_ssl_cipher);
     mysql_options(&next_con->mysql, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
bk commit into 5.0 tree (msvensson:1.2155) BUG#20022msvensson31 May