diff --git a/src/tls/openssl/tls_tcp.c b/src/tls/openssl/tls_tcp.c index a3e967117..e5a1c8e3c 100644 --- a/src/tls/openssl/tls_tcp.c +++ b/src/tls/openssl/tls_tcp.c @@ -241,7 +241,7 @@ static bool recv_handler(int *err, struct mbuf *mb, bool *estab, void *arg) *err = tls_accept(tc); } - DEBUG_INFO("state=0x%04x\n", SSL_state(tc->ssl)); + DEBUG_INFO("state: %s\n", SSL_state_string_long(tc->ssl)); /* TLS connection is established */ if (SSL_state(tc->ssl) != SSL_ST_OK)