MbedTLS: Remove pointless no-op cast

This commit is contained in:
Aaron Jones 2016-08-31 18:34:21 +00:00
parent b21ed5c0aa
commit 6f3651f8ec

View file

@ -238,7 +238,7 @@ rb_ssl_accept_common(rb_fde_t *const F, void *const data)
lrb_assert(F->accept->callback != NULL);
lrb_assert(F->ssl != NULL);
mbedtls_ssl_context *const ssl_ctx = (mbedtls_ssl_context *) SSL_P(F);
mbedtls_ssl_context *const ssl_ctx = SSL_P(F);
if(ssl_ctx->state != MBEDTLS_SSL_HANDSHAKE_OVER)
{