tls: use long SSL state strings for logging
@@ -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)
