Commit 3603b28d authored by Tor Didriksen's avatar Tor Didriksen

Bug#10064164 post-push fix: build break unless #defined HAVE_OPENSSL

parent 884df087
...@@ -8615,6 +8615,7 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio, ...@@ -8615,6 +8615,7 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio,
if (mpvio->charset_adapter->init_client_charset(charset_code)) if (mpvio->charset_adapter->init_client_charset(charset_code))
return packet_error; return packet_error;
skip_to_ssl:
#if defined(HAVE_OPENSSL) #if defined(HAVE_OPENSSL)
DBUG_PRINT("info", ("client capabilities: %lu", mpvio->client_capabilities)); DBUG_PRINT("info", ("client capabilities: %lu", mpvio->client_capabilities));
...@@ -8623,7 +8624,6 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio, ...@@ -8623,7 +8624,6 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio,
and wait for the client to send a new handshake packet. and wait for the client to send a new handshake packet.
The client isn't expected to send any more bytes until SSL is initialized. The client isn't expected to send any more bytes until SSL is initialized.
*/ */
skip_to_ssl:
if (mpvio->client_capabilities & CLIENT_SSL) if (mpvio->client_capabilities & CLIENT_SSL)
{ {
unsigned long errptr; unsigned long errptr;
......
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