Commit 144c7622 authored by unknown's avatar unknown

Fix after merge 5.0->5.1


client/mysqlimport.c:
  Variable name changed mysql_connection -> mysql
include/violite.h:
  Type changed st_VioSSLAcceptorFd-> sl_VioSSLFd
vio/viosslfactories.c:
  Type changed st_VioSSLAcceptorFd-> sl_VioSSLFd
parent 16d46c9c
...@@ -406,7 +406,7 @@ static MYSQL *db_connect(char *host, char *database, ...@@ -406,7 +406,7 @@ static MYSQL *db_connect(char *host, char *database,
if (opt_use_ssl) if (opt_use_ssl)
mysql_ssl_set(mysql, opt_ssl_key, opt_ssl_cert, opt_ssl_ca, mysql_ssl_set(mysql, opt_ssl_key, opt_ssl_cert, opt_ssl_ca,
opt_ssl_capath, opt_ssl_cipher); opt_ssl_capath, opt_ssl_cipher);
mysql_options(&mysql_connection,MYSQL_OPT_SSL_VERIFY_SERVER_CERT, mysql_options(mysql,MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
(char*)&opt_ssl_verify_server_cert); (char*)&opt_ssl_verify_server_cert);
#endif #endif
if (opt_protocol) if (opt_protocol)
......
...@@ -121,7 +121,7 @@ struct st_VioSSLFd ...@@ -121,7 +121,7 @@ struct st_VioSSLFd
*new_VioSSLAcceptorFd(const char *key_file, const char *cert_file, *new_VioSSLAcceptorFd(const char *key_file, const char *cert_file,
const char *ca_file,const char *ca_path, const char *ca_file,const char *ca_path,
const char *cipher); const char *cipher);
void free_vio_ssl_acceptor_fd(struct st_VioSSLAcceptorFd *fd); void free_vio_ssl_acceptor_fd(struct st_VioSSLFd *fd);
#endif /* HAVE_OPENSSL */ #endif /* HAVE_OPENSSL */
#ifdef HAVE_SMEM #ifdef HAVE_SMEM
......
...@@ -346,7 +346,7 @@ new_VioSSLAcceptorFd(const char *key_file, const char *cert_file, ...@@ -346,7 +346,7 @@ new_VioSSLAcceptorFd(const char *key_file, const char *cert_file,
} }
void free_vio_ssl_acceptor_fd(struct st_VioSSLAcceptorFd *fd) void free_vio_ssl_acceptor_fd(struct st_VioSSLFd *fd)
{ {
SSL_CTX_free(fd->ssl_context); SSL_CTX_free(fd->ssl_context);
my_free((gptr) fd, MYF(0)); my_free((gptr) fd, MYF(0));
......
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