[OpenSIPS-Devel] [OpenSIPS/opensips] 9999d3: tls_wolfssl: fix regression in commit 77f5f5a

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9999d313733d0731941374526e8a2db030819c38
      https://github.com/OpenSIPS/opensips/commit/9999d313733d0731941374526e8a2db030819c38
  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.





More information about the Devel mailing list