@alexyosifov commented on this pull request.
@@ -670,16 +638,11 @@ int ipsec_create(struct sip_msg*
m, udomain_t* d, int _cflags)
}
// Get security parameters
- if(pcontact->security_temp == NULL) {
+ if(pcontact->security_temp == NULL || pcontact->security_temp->type !=
SECURITY_IPSEC) {
Keep the old code. The new one cannot distinguish between the errors: "No security
parameters found" and "Unsupported security type"
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3029#pullrequestreview-888088726
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3029/review/888088726(a)github.com>