Module: kamailio Branch: 5.7 Commit: dee31a1eaace4d4c40ee5ef9591379768d4fad75 URL: https://github.com/kamailio/kamailio/commit/dee31a1eaace4d4c40ee5ef9591379768d4fad75
Author: S-P Chan <shihping.c...@gmail.com> Committer: S-P Chan <shihping.c...@gmail.com> Date: 2024-01-25T21:50:01+08:00 tls_wolfssl: allow building with debian libwolfssl35 - internal submodule is v5.6.6-stable - libwolfssl35 is at v5.5.4-stable (cherry-pick from 43ec11a7e0a37dfdaead873d555b26cb65589bd1) --- Modified: src/modules/tls_wolfssl/tls_wolfssl_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/dee31a1eaace4d4c40ee5ef9591379768d4fad75.diff Patch: https://github.com/kamailio/kamailio/commit/dee31a1eaace4d4c40ee5ef9591379768d4fad75.patch --- diff --git a/src/modules/tls_wolfssl/tls_wolfssl_mod.c b/src/modules/tls_wolfssl/tls_wolfssl_mod.c index 6cdf2de2d1b..e95cecb7be5 100644 --- a/src/modules/tls_wolfssl/tls_wolfssl_mod.c +++ b/src/modules/tls_wolfssl/tls_wolfssl_mod.c @@ -453,7 +453,8 @@ static int ki_is_peer_verified(sip_msg_t *msg) ssl = ((struct tls_extra_data *)c->extra_data)->ssl; ssl_verify = wolfSSL_get_verify_result(ssl); - if(ssl_verify != WOLFSSL_X509_V_OK) { + // WOLFSSL_X509_V_OK / X509_V_OK + if(ssl_verify != 0) { LM_WARN("verification of presented certificate failed... return -1\n"); tcpconn_put(c); return -1; _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org