|
|
|
@ -1706,6 +1706,7 @@ static void __generate_crypto(const sdp_ng_flags *flags, struct call_media *this
|
|
|
|
assert(num_crypto_suites <= sizeof(types_offered) * 8);
|
|
|
|
assert(num_crypto_suites <= sizeof(types_offered) * 8);
|
|
|
|
|
|
|
|
|
|
|
|
/* always consider by default that offerer doesn't need re-ordering */
|
|
|
|
/* always consider by default that offerer doesn't need re-ordering */
|
|
|
|
|
|
|
|
if (other)
|
|
|
|
MEDIA_CLEAR(other, REORDER_FORCED);
|
|
|
|
MEDIA_CLEAR(other, REORDER_FORCED);
|
|
|
|
|
|
|
|
|
|
|
|
/* add offered crypto parameters */
|
|
|
|
/* add offered crypto parameters */
|
|
|
|
@ -1832,6 +1833,7 @@ static void __generate_crypto(const sdp_ng_flags *flags, struct call_media *this
|
|
|
|
if (reorder_sdes_preferences(offered_cpq, offered_order)) {
|
|
|
|
if (reorder_sdes_preferences(offered_cpq, offered_order)) {
|
|
|
|
/* affects a proper handling of crypto suites ordering,
|
|
|
|
/* affects a proper handling of crypto suites ordering,
|
|
|
|
* when sending processed answer to the media session originator */
|
|
|
|
* when sending processed answer to the media session originator */
|
|
|
|
|
|
|
|
if (other)
|
|
|
|
MEDIA_SET(other, REORDER_FORCED);
|
|
|
|
MEDIA_SET(other, REORDER_FORCED);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|