[OpenSIPS-Devel] [OpenSIPS/opensips] 3f61bb: tls_wolfssl: fix regression in commit 77f5f5a

Vlad Pătrașcu noreply at github.com
Tue Mar 7 14:30:46 UTC 2023


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3f61bbe09ac0fe699900e7c7ef1e7606eb7c6211
      https://github.com/OpenSIPS/opensips/commit/3f61bbe09ac0fe699900e7c7ef1e7606eb7c6211
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M modules/tls_wolfssl/wolfssl_config.c

  Log Message:
  -----------
  tls_wolfssl: fix regression in commit 77f5f5a

The wolfSSL_CTX_load_verify_locations_ex() function would still return
an error when no valid CA certificate was found in the directory.
Since before commit 77f5f5a, opensips startup would not fail when
wolfSSL_CTX_load_verify_locations_ex() would return an error, the change
in the above commit would constitute a regression for cases where no valid
certificate is found in the directory.

This commit brings the wolfssl behavior further in line with openssl.

(cherry picked from commit 9999d313733d0731941374526e8a2db030819c38)





More information about the Devel mailing list