Remove uneeded cast to unsigned int

CLA: trivial

cipher_ctx->blocksize is already unsigned.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23098)
This commit is contained in:
Rose 2023-12-19 11:29:54 -05:00 committed by Tomas Mraz
parent 8f0f814d79
commit 6e155858d7
1 changed files with 1 additions and 1 deletions

View File

@ -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)