diff --git a/src/client.c b/src/client.c index 3df8bf5b..aaf28a6a 100644 --- a/src/client.c +++ b/src/client.c @@ -420,6 +420,13 @@ int trilogy_auth_recv(trilogy_conn_t *conn, trilogy_handshake_t *handshake) return read_ok_packet(conn); case TRILOGY_PACKET_AUTH_MORE_DATA: { + bool use_ssl = (conn->socket->opts.flags & TRILOGY_CAPABILITIES_SSL) != 0; + if (!use_ssl) { + fprintf(stderr, "====== oh no! ssl isn't being used?!\n"); + } + else { + fprintf(stderr, "====== well huh it's working fine?\n"); + } uint8_t byte = conn->packet_buffer.buff[1]; switch (byte) { case FAST_AUTH_OK: