Skip to content

Commit

Permalink
don't disable SSL when connecting via libmysqld
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Apr 3, 2018
1 parent df6197c commit f5369fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql-common/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2532,10 +2532,10 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio,
if (mysql->client_flag & CLIENT_MULTI_STATEMENTS)
mysql->client_flag|= CLIENT_MULTI_RESULTS;

#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
#ifdef HAVE_OPENSSL
if (mysql->options.use_ssl)
mysql->client_flag|= CLIENT_SSL;
#endif /* HAVE_OPENSSL && !EMBEDDED_LIBRARY*/
#endif /* HAVE_OPENSSL */

if (mpvio->db)
mysql->client_flag|= CLIENT_CONNECT_WITH_DB;
Expand Down

0 comments on commit f5369fa

Please sign in to comment.