/* get the statement long string where SSL is reading  */
const char* SSL_rstate_string_long(SSL *ssl)
/* get the statement long string where SSL is reading  */
const char* SSL_rstate_string_long(SSL *ssl)
{
    const char *str = "unknown";
    SSL_ASSERT2(ssl);
    switch (ssl->rlayer.rstate)
    {
        case SSL_ST_READ_HEADER:
            str = "read header";
            break;
        case SSL_ST_READ_BODY:
            str = "read body";
            break;
        case SSL_ST_READ_DONE:
            str = "read done";
            break;
        default:
            break;
    }
    return str;
}