agents MUST ignore all other attributes that follow MESSAGE-INTEGRITY

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent 0ed8587e05
commit 9c8075ca87

@ -857,6 +857,7 @@ int sdp_replace(struct sdp_chopper *chop, GQueue *sessions, struct call *call,
goto error;
if (flags->ice_force) {
/* XXX locking here? */
create_random_string(call, &rtp->up->ice_ufrag[0], 8);
create_random_string(call, &rtp->up->ice_pwd, 28);

@ -65,7 +65,7 @@ static int stun_attributes(struct stun_attrs *out, str *s) {
break;
case 0x0008: /* message-integrity */
out->msg_integrity = attr;
break;
goto out;
case 0x0025: /* use-candidate */
out->use = 1;
@ -85,6 +85,7 @@ static int stun_attributes(struct stun_attrs *out, str *s) {
}
}
out:
return 0;
}

Loading…
Cancel
Save