srtp: fix SDP media with policy-rejected encryption
commitcb94918577052bb1b74f46f162e11c995b41fddb
authorJakub Adam <jakub.adam@ktknet.cz>
Fri, 19 Jun 2015 12:35:47 +0000 (19 14:35 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Mon, 29 Jun 2015 11:28:29 +0000 (29 13:28 +0200)
tree579ef7504343db90c6fa43d36c8cbe1782e5d516
parent70fb2c0cee33e95be5a94ab9a7bda4a47be10780
srtp: fix SDP media with policy-rejected encryption

When media encryption was disabled by policy, Sipe was sending malformed
INVITE responses with "RTP/SAVP" in media (m=) field although no keys
(a=crypto) were offered to the caller.
src/core/sipe-media.c