summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
diff options
context:
space:
mode:
authortb <>2023-11-18 09:37:15 +0000
committertb <>2023-11-18 09:37:15 +0000
commitcf1d9118861fb5ec267ff356834308151562d92d (patch)
tree6a57455fb90dc2e6329a93bfd6f50f475ffbf84e /src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
parentc6a53967a0008fba21f8effe5960629cad4d4572 (diff)
downloadopenbsd-cf1d9118861fb5ec267ff356834308151562d92d.tar.gz
openbsd-cf1d9118861fb5ec267ff356834308151562d92d.tar.bz2
openbsd-cf1d9118861fb5ec267ff356834308151562d92d.zip
Check for negative IV length
A recent change in EVP_CIPHER_CTX_iv_length() made it possible in principle that this function returns -1. This can only happen for an incorrectly set up EVP_CIPHER. Still it is better form to check for negative lengths before stuffing it into a memcpy(). It would probably be desirable to cap the iv_length to something large enough. This can be done another time. ok beck
Diffstat (limited to 'src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3')
0 files changed, 0 insertions, 0 deletions