CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/09/15 01:04:19
Modified files:
lib/libcrypto/evp: e_bf.c e_cast.c e_des.c e_des3.c e_idea.c
e_rc2.c
Log message:
Use LONG_MAX as the limit for ciphers with long based APIs.
These ciphers have long based APIs, while EVP has a size_t based API. The
intent of these loops is to handle sizes that are bigger than LONG_MAX.
Rather than using the rather crazy EVP_MAXCHUNK construct, use LONG_MAX
rounded down to a large block size, ensuring that it is a block size
multiple. Revert the recently added overflow checks now that this is
handled more appropriately.
ok tb@