[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serdev
Subject:    [sr-dev] git:master:5b9651d3: tls_wolfssl: switch to long pvar field
From:       S-P Chan <shihping.chan () gmail ! com>
Date:       2022-12-18 20:21:02
Message-ID: E1p709e-0006CX-Uv () www ! kamailio ! org
[Download RAW message or body]

Module: kamailio
Branch: master
Commit: 5b9651d31dcbe915e813f35fe330b41652e29578
URL: https://github.com/kamailio/kamailio/commit/5b9651d31dcbe915e813f35fe330b41652e29578

Author: S-P Chan <shihping.chan@gmail.com>
Committer: S-P Chan <shihping.chan@gmail.com>
Date: 2022-12-19T04:18:52+08:00

tls_wolfssl: switch to long pvar field

* match commit 17bc73c9dc for tls/

---

Modified: src/modules/tls_wolfssl/tls_select.c

---

Diff:  https://github.com/kamailio/kamailio/commit/5b9651d31dcbe915e813f35fe330b41652e29578.diff
Patch: https://github.com/kamailio/kamailio/commit/5b9651d31dcbe915e813f35fe330b41652e29578.patch

---

diff --git a/src/modules/tls_wolfssl/tls_select.c b/src/modules/tls_wolfssl/tls_select.c
index b61c7c2a595..7d1bc5d9a98 100644
--- a/src/modules/tls_wolfssl/tls_select.c
+++ b/src/modules/tls_wolfssl/tls_select.c
@@ -239,7 +239,7 @@ static int pv_cipher(sip_msg_t* msg, pv_param_t* param, pv_value_t* res)
 }
 
 
-static int get_bits(str* res, int* i, sip_msg_t* msg) 
+static int get_bits(str* res, long* i, sip_msg_t* msg) 
 {
 	str bits;
 	int b;
@@ -446,7 +446,7 @@ static int pv_cert_version(sip_msg_t* msg, pv_param_t* param, pv_value_t* res)
  * Check whether peer certificate exists and verify the result
  * of certificate verification
  */
-static int check_cert(str* res, int* ires, int local, int err, sip_msg_t* msg)
+static int check_cert(str* res, long* ires, int local, int err, sip_msg_t* msg)
 {
 	static str succ = STR_STATIC_INIT("1");
 	static str fail = STR_STATIC_INIT("0");

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic