[OpenSIPS-Devel] [OpenSIPS/opensips] 52ce2f: tls_wolfssl: fix regression in commit 77f5f5a

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


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 52ce2ff08d1ff2983916b674467153811803e9e0
      https://github.com/OpenSIPS/opensips/commit/52ce2ff08d1ff2983916b674467153811803e9e0
  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