summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_client.c
diff options
context:
space:
mode:
authorjsing <>2022-09-15 07:04:19 +0000
committerjsing <>2022-09-15 07:04:19 +0000
commit69a6645367fe0e98f414f8ce038c6a4c2e3fb102 (patch)
tree1c7afa8ea8df0921bd154e4d6c5a2402edf4beb7 /src/lib/libssl/tls13_client.c
parentb90fb1a563a5bd5fbe53dc5355f9de11f4dd687e (diff)
downloadopenbsd-69a6645367fe0e98f414f8ce038c6a4c2e3fb102.tar.gz
openbsd-69a6645367fe0e98f414f8ce038c6a4c2e3fb102.tar.bz2
openbsd-69a6645367fe0e98f414f8ce038c6a4c2e3fb102.zip
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@
Diffstat (limited to 'src/lib/libssl/tls13_client.c')
0 files changed, 0 insertions, 0 deletions