Skip to content

Commit 6e15585

Browse files
AZero13t8m
authored andcommitted
Remove uneeded cast to unsigned int
CLA: trivial cipher_ctx->blocksize is already unsigned. Reviewed-by: Matt Caswell <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from openssl#23098)
1 parent 8f0f814 commit 6e15585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/e_devcrypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static int ctr_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
334334
}
335335

336336
/* full blocks */
337-
if (inl > (unsigned int) cipher_ctx->blocksize) {
337+
if (inl > cipher_ctx->blocksize) {
338338
nblocks = inl/cipher_ctx->blocksize;
339339
len = nblocks * cipher_ctx->blocksize;
340340
if (cipher_do_cipher(ctx, out, in, len) < 1)

0 commit comments

Comments
 (0)