mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-04 12:12:48 +00:00
Add DTLS sanity check.
Change-Id: Ib32612cf6c7ce9213a11b9cba82f630f8cd3564b
This commit is contained in:
@@ -767,7 +767,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);
|
||||
pj_str_t *value;
|
||||
|
||||
if (!attr->value.ptr) {
|
||||
if (!attr->value.ptr || !dtls) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user