Skip to content

Commit

Permalink
tls: switch to long pvar field
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 16, 2022
1 parent 6be9476 commit 17bc73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/tls/tls_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,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;
Expand Down Expand Up @@ -444,7 +444,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");
Expand Down

0 comments on commit 17bc73c

Please sign in to comment.