From 6f3651f8ecca16f16ed3b82d28e60655061e4454 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Wed, 31 Aug 2016 18:34:21 +0000 Subject: [PATCH] MbedTLS: Remove pointless no-op cast --- libratbox/src/mbedtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libratbox/src/mbedtls.c b/libratbox/src/mbedtls.c index cab71098..bfe39f09 100644 --- a/libratbox/src/mbedtls.c +++ b/libratbox/src/mbedtls.c @@ -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) {