diff options
author | Neil Horman <nhorman@openssl.org> | 2024-07-24 21:51:53 +0200 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-07-26 19:25:18 +0200 |
commit | 32185d513cf8732ee0a85875ac61ee4389a86bbb (patch) | |
tree | afc0934b01a50bf1b1c14c2208a6ca522a4ef147 /test/bio_enc_test.c | |
parent | Fix coverity-993406 (diff) | |
download | openssl-32185d513cf8732ee0a85875ac61ee4389a86bbb.tar.xz openssl-32185d513cf8732ee0a85875ac61ee4389a86bbb.zip |
Fix second error from Coverity-161057
Coverity flagged a second error in this code
we're comparing block_padding and hs_padding for >= 0, which is always
true
With the change to the use of strtoul, inputs that are preceded with a -
(i.e. negative values), are caught already, so the check is redundant
just remove the check entirely
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/24993)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions