[openssl/openssl] 36332d: s_cb.c: Add missing return value checks

MrRurikov noreply at github.com
Thu Feb 22 11:47:23 UTC 2024


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 36332d996412cc77b444e0ea4a65d36ee494dd3d
      https://github.com/openssl/openssl/commit/36332d996412cc77b444e0ea4a65d36ee494dd3d
  Author: MrRurikov <96385824+MrRurikov at users.noreply.github.com>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M apps/lib/s_cb.c

  Log Message:
  -----------
  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 at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23647)

(cherry picked from commit 6f794b461c6e16c8afb996ee190e084cbbddb6b8)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list