]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix second error from Coverity-161057
authorNeil Horman <nhorman@openssl.org>
Wed, 24 Jul 2024 19:51:53 +0000 (15:51 -0400)
committerNeil Horman <nhorman@openssl.org>
Fri, 26 Jul 2024 17:25:18 +0000 (13:25 -0400)
commit32185d513cf8732ee0a85875ac61ee4389a86bbb
treeafc0934b01a50bf1b1c14c2208a6ca522a4ef147
parent31cd9cd830f847c0effc7c15b814f890228c3739
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)
ssl/ssl_conf.c