Use SSL_state_string_long() instead of homebrewed ssl_state_to_string()
OpenSSL has two functions to get a string version of the SSL state,
SSL_state_string_long()
and SSL_state_string()
.
We can use these instead of the homebrewed ssl_state_to_string() and the tortls_state.h file.