Skip to content

Commit

Permalink
Merge pull request #3223 from purecloudlabs/hotfix/wolfssl-client-cer…
Browse files Browse the repository at this point in the history
…t-verify

`tls_wolfssl`: Fix certificate verification in client mode

(cherry picked from commit a1b2c3c)
  • Loading branch information
bogdan-iancu committed Oct 11, 2023
1 parent b5f166e commit b1bce70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tls_wolfssl/wolfssl_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ int _wolfssl_init_tls_dom(struct tls_domain *d, int init_flags)
}
} else {
if (d->verify_cert ) {
/* This is turned on by default in wolfSSL */
verify_mode = SSL_VERIFY_PEER;
LM_INFO("server verification activated.\n");
} else {
verify_mode = SSL_VERIFY_NONE;
Expand Down

0 comments on commit b1bce70

Please sign in to comment.