Remove stray bracket if MBEDTLS_ZLIB_SUPPORT is defined

This commit is contained in:
Hanno Becker 2018-08-21 13:20:00 +01:00
parent f61ff4e1d6
commit ecff205548

View File

@ -7238,7 +7238,6 @@ int mbedtls_ssl_get_record_expansion( const mbedtls_ssl_context *ssl )
#if defined(MBEDTLS_ZLIB_SUPPORT)
if( ssl->session_out->compression != MBEDTLS_SSL_COMPRESS_NULL )
return( MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE );
}
#endif
switch( mbedtls_cipher_get_cipher_mode( &transform->cipher_ctx_enc ) )