FS-11052: Allow alias for crypto suites

For outgoing calls send AES crypto in offer using corrected names
for keys of length 192 and 256, i.e. names containing _192_CM_
and _256_CM_ instead of _CM_192_ and CM_256_. For incoming calls
accept both naming conventions, decaying to same entry in SUITES.
This commit is contained in:
Piotr Gregor
2018-07-24 07:21:41 +00:00
committed by Muteesa Fred
parent 7f1d638525
commit 3a502eaf6e
2 changed files with 31 additions and 24 deletions
+1
View File
@@ -65,6 +65,7 @@ typedef enum {
typedef struct switch_srtp_crypto_suite_s {
char *name;
const char *alias;
switch_rtp_crypto_key_type_t type;
int keysalt_len;
int salt_len;