mirror of
https://github.com/MariaDB/server.git
synced 2025-05-25 13:42:52 +03:00
Revert "On Windows SSL works with sockets only, so we shouldn't tell the client"
This reverts commit 2ee149be4e9319208dfcfb77712aa1ef805f6ba8.
This commit is contained in:
parent
33e5a8aba2
commit
c1bf5ba27e
@ -11266,10 +11266,7 @@ static bool send_server_handshake_packet(MPVIO_EXT *mpvio,
|
|||||||
|
|
||||||
thd->client_capabilities|= CAN_CLIENT_COMPRESS;
|
thd->client_capabilities|= CAN_CLIENT_COMPRESS;
|
||||||
|
|
||||||
/* Currently we support SSL with sockets only */
|
if (ssl_acceptor_fd)
|
||||||
if (thd->active_vio->type != VIO_TYPE_NAMEDPIPE &&
|
|
||||||
thd->active_vio->type != VIO_TYPE_SHARED_MEMORY &&
|
|
||||||
ssl_acceptor_fd)
|
|
||||||
{
|
{
|
||||||
thd->client_capabilities |= CLIENT_SSL;
|
thd->client_capabilities |= CLIENT_SSL;
|
||||||
thd->client_capabilities |= CLIENT_SSL_VERIFY_SERVER_CERT;
|
thd->client_capabilities |= CLIENT_SSL_VERIFY_SERVER_CERT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user