]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix coverity-1510058
authorNeil Horman <nhorman@openssl.org>
Thu, 11 Jul 2024 20:04:28 +0000 (16:04 -0400)
committerPauli <ppzgs1@gmail.com>
Mon, 15 Jul 2024 00:10:00 +0000 (10:10 +1000)
commit9884568569feb559cea2496a3326259a53db0860
tree9b0a4753001c8986bbdde4d93c27c9eba21ec3a5
parent42230f294ae97cbd50052038499e091d0060ba8e
Fix coverity-1510058

coverity noted a recent change made a call to OSSL_PARAM_get_size_t
without checking the return code, as is practice in all other call
sites.

Just add the check.

Fixes openssl/private#551

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24860)
test/evp_test.c