s_cb.c: Add missing return value checks
authorMrRurikov <96385824+MrRurikov@users.noreply.github.com>
Wed, 21 Feb 2024 08:11:34 +0000 (11:11 +0300)
committerTomas Mraz <tomas@openssl.org>
Thu, 22 Feb 2024 11:45:37 +0000 (12:45 +0100)
commit36332d996412cc77b444e0ea4a65d36ee494dd3d
tree9aa80282afb66ab71a8660943fc84a7c5fe63a47
parent801eed6e29623584914824dcfec15ec8e3a86dd3
s_cb.c: Add missing return value checks

Return value of function 'SSL_CTX_ctrl', that is called from
SSL_CTX_set1_verify_cert_store() and SSL_CTX_set1_chain_cert_store(),
is not checked, but it is usually checked for this function.

CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23647)

(cherry picked from commit 6f794b461c6e16c8afb996ee190e084cbbddb6b8)
apps/lib/s_cb.c