summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_seclevel.c
diff options
context:
space:
mode:
authortb <>2022-07-26 19:50:06 +0000
committertb <>2022-07-26 19:50:06 +0000
commit4451e9a91878ee24bde7c7785cf117955045bb0a (patch)
treebaf4feb67c41f926be93866eea17663749b733db /src/lib/libssl/ssl_seclevel.c
parent1778714fb9db9095f5a2e79e01a30f8e9214a3eb (diff)
downloadopenbsd-4451e9a91878ee24bde7c7785cf117955045bb0a.tar.gz
openbsd-4451e9a91878ee24bde7c7785cf117955045bb0a.tar.bz2
openbsd-4451e9a91878ee24bde7c7785cf117955045bb0a.zip
Do not pass input length <= 0 to the cipher handlers
Input length < 0 is an error and input length == 0 can result in strange effects in some ciphers, except in CCM mode, which is extra special. Based on OpenSSL 420cb707 by Matt Caswell and Richard Levitte found by & ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_seclevel.c')
0 files changed, 0 insertions, 0 deletions