• unknown's avatar
    Bug#24121 Incorrect test for SSL_VERIFY_SERVER_CERT · f7acb850
    unknown authored
     - Interpret the pointer passed to 'mysql_options' for
       MYSQL_OPT_SSL_VERIFY_SERVER_CERT as a my_bool
     - In 5.1 the mysql_options signature will be chanegd to take
       a 'void*' in order to further emphasize the need for a pointer
       to correct type
    
    
    client/mysqltest.c:
      Turn on ssl_verify_server_cert for all connections to "localhost"
      in mysqltest
    sql-common/client.c:
      The pointer passed to 'mysql_options' for MYSQL_OPT_SSL_VERIFY_SERVER_CERT
      should be interpreted as a my_bool pointer (aka char*).
    f7acb850
mysqltest.c 202 KB