Merge "Add DTLS sanity check."
This commit is contained in:
commit
410a5ac0fa
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ static void apply_dtls_attrib(struct ast_sip_session_media *session_media,
|
||||||
struct ast_rtp_engine_dtls *dtls = ast_rtp_instance_get_dtls(session_media->rtp);
|
struct ast_rtp_engine_dtls *dtls = ast_rtp_instance_get_dtls(session_media->rtp);
|
||||||
pj_str_t *value;
|
pj_str_t *value;
|
||||||
|
|
||||||
if (!attr->value.ptr) {
|
if (!attr->value.ptr || !dtls) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue