MbedTLS: Remove pointless no-op cast
This commit is contained in:
parent
b21ed5c0aa
commit
6f3651f8ec
1 changed files with 1 additions and 1 deletions
|
@ -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->accept->callback != NULL);
|
||||||
lrb_assert(F->ssl != 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)
|
if(ssl_ctx->state != MBEDTLS_SSL_HANDSHAKE_OVER)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue