Browse Source

agents MUST ignore all other attributes that follow MESSAGE-INTEGRITY

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
9c8075ca87
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      daemon/sdp.c
  2. +2
    -1
      daemon/stun.c

+ 1
- 0
daemon/sdp.c View File

@ -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);


+ 2
- 1
daemon/stun.c View File

@ -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