|
|
|
@ -1732,8 +1732,8 @@ static void __generate_crypto(const struct sdp_ng_flags *flags, struct call_medi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* for answer case, otherwise defaults to zero */ |
|
|
|
this->sdes_out.tag = this->sdes_in.tag; |
|
|
|
/* for answer case, otherwise we default to one */ |
|
|
|
this->sdes_out.tag = this->sdes_in.params.crypto_suite ? this->sdes_in.tag : 1; |
|
|
|
|
|
|
|
if (other->sdes_in.params.crypto_suite) { |
|
|
|
/* SRTP <> SRTP case, copy from other stream */ |
|
|
|
|