Skip to content

Commit

Permalink
Added str flag to out pvar
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpaiu committed Jul 31, 2023
1 parent 156e3b8 commit f6377ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/auth_jwt/auth_jwt_certops.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ int extract_pub_key_from_cert(struct sip_msg* _msg, str* cert,
goto err_free;
}

pv_val.flags = PV_VAL_STR;
pv_val.rs = out_pub_key;
if (pv_set_value(_msg,pub_key,0,&pv_val) != 0) {
LM_ERR("Failed to set pub key pvar \n");
Expand Down

0 comments on commit f6377ca

Please sign in to comment.