From 2c942a35ff7bf5d8be58cbf5f3321dd938b96b85 Mon Sep 17 00:00:00 2001 From: Tom Cosgrove Date: Sun, 19 Mar 2023 14:04:04 +0000 Subject: [PATCH] Fix code style nit Signed-off-by: Tom Cosgrove --- library/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/aes.c b/library/aes.c index 414c42c1db..f08a21f595 100644 --- a/library/aes.c +++ b/library/aes.c @@ -1005,7 +1005,7 @@ void mbedtls_aes_decrypt(mbedtls_aes_context *ctx, */ static void aes_maybe_realign(mbedtls_aes_context *ctx) { - unsigned current_offset = (unsigned)(ctx->rk - ctx->buf); + unsigned current_offset = (unsigned) (ctx->rk - ctx->buf); unsigned new_offset = mbedtls_aes_rk_offset(ctx->buf); if (new_offset != current_offset) { memmove(ctx->buf + new_offset, // new address