Fix ZRTP configuration when based on SRTP profile

This commit is contained in:
Johan Pascal 2016-04-05 10:08:50 +02:00
parent a2ba8b72bb
commit e67d5ee9c8

View file

@ -3403,7 +3403,7 @@ static void setZrtpCryptoTypesParameters(MSZrtpParams *params, LinphoneCore *lc)
break;
case MS_AES_256_SHA1_32:
params->ciphers[params->ciphersCount++] = MS_ZRTP_CIPHER_AES3;
params->authTags[params->authTagsCount++] = MS_ZRTP_AUTHTAG_HS80;
params->authTags[params->authTagsCount++] = MS_ZRTP_AUTHTAG_HS32;
break;
case MS_CRYPTO_SUITE_INVALID:
break;