From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:29:54 +0000 (-0500) Subject: Remove uneeded cast to unsigned int X-Git-Tag: openssl-3.3.0-alpha1~382 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e155858d785297bd8b51f667bc440f4e7c17bfb;p=thirdparty%2Fopenssl.git Remove uneeded cast to unsigned int CLA: trivial cipher_ctx->blocksize is already unsigned. Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23098) --- diff --git a/engines/e_devcrypto.c b/engines/e_devcrypto.c index 3a4082d22bb..1e1d9d12b83 100644 --- a/engines/e_devcrypto.c +++ b/engines/e_devcrypto.c @@ -334,7 +334,7 @@ static int ctr_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, } /* full blocks */ - if (inl > (unsigned int) cipher_ctx->blocksize) { + if (inl > cipher_ctx->blocksize) { nblocks = inl/cipher_ctx->blocksize; len = nblocks * cipher_ctx->blocksize; if (cipher_do_cipher(ctx, out, in, len) < 1)