Skip to content

Commit

Permalink
Revert "On Windows SSL works with sockets only, so we shouldn't tell …
Browse files Browse the repository at this point in the history
…the client"

This reverts commit 2ee149b.
  • Loading branch information
9EOR9 authored and vaintroub committed Jan 27, 2016
1 parent 33e5a8a commit c1bf5ba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions sql/sql_acl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11260,16 +11260,13 @@ static bool send_server_handshake_packet(MPVIO_EXT *mpvio,
*end++= protocol_version;

thd->client_capabilities= CLIENT_BASIC_FLAGS;

if (opt_using_transactions)
thd->client_capabilities|= CLIENT_TRANSACTIONS;

thd->client_capabilities|= CAN_CLIENT_COMPRESS;

/* Currently we support SSL with sockets only */
if (thd->active_vio->type != VIO_TYPE_NAMEDPIPE &&
thd->active_vio->type != VIO_TYPE_SHARED_MEMORY &&
ssl_acceptor_fd)
if (ssl_acceptor_fd)
{
thd->client_capabilities |= CLIENT_SSL;
thd->client_capabilities |= CLIENT_SSL_VERIFY_SERVER_CERT;
Expand Down

0 comments on commit c1bf5ba

Please sign in to comment.