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

This commit is contained in:
Tor Didriksen 2011-08-24 09:18:50 +02:00
parent c8840c973c
commit 553587678e

View File

@ -8615,6 +8615,7 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio,
if (mpvio->charset_adapter->init_client_charset(charset_code))
return packet_error;
skip_to_ssl:
#if defined(HAVE_OPENSSL)
DBUG_PRINT("info", ("client capabilities: %lu", mpvio->client_capabilities));
@ -8623,7 +8624,6 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio,
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.
*/
skip_to_ssl:
if (mpvio->client_capabilities & CLIENT_SSL)
{
unsigned long errptr;