Skip to content
Snippets Groups Projects
Commit 593caecd authored by Alexandre Savard's avatar Alexandre Savard
Browse files

Merge branch 'fix_srtp' of git+ssh://git.sflphone.org/var/repos/sflphone/git/sflphone into fix_srtp

parents 2abc0d2c 1a50e5d8
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,6 @@ std::vector<CryptoAttribute *> SdesNegotiator::parse() ...@@ -91,7 +91,6 @@ std::vector<CryptoAttribute *> SdesNegotiator::parse()
// Take each line from the vector // Take each line from the vector
// and parse its content // and parse its content
std::vector<CryptoAttribute *> cryptoAttributeVector; std::vector<CryptoAttribute *> cryptoAttributeVector;
for (std::vector<std::string>::iterator iter = remoteAttribute_.begin(); for (std::vector<std::string>::iterator iter = remoteAttribute_.begin();
......
...@@ -62,7 +62,7 @@ enum KeyMethod { ...@@ -62,7 +62,7 @@ enum KeyMethod {
}; };
struct CryptoSuiteDefinition { struct CryptoSuiteDefinition {
char * name; const char *name;
int masterKeyLength; int masterKeyLength;
int masterSaltLength; int masterSaltLength;
int srtpLifetime; int srtpLifetime;
...@@ -81,9 +81,9 @@ struct CryptoSuiteDefinition { ...@@ -81,9 +81,9 @@ struct CryptoSuiteDefinition {
* as defined in RFC4568 (6.2) * as defined in RFC4568 (6.2)
*/ */
static const CryptoSuiteDefinition CryptoSuites[] = { static const CryptoSuiteDefinition CryptoSuites[] = {
{ (char*) "AES_CM_128_HMAC_SHA1_80", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 80, 80, 160, 160 }, { "AES_CM_128_HMAC_SHA1_80", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 80, 80, 160, 160 },
{ (char*) "AES_CM_128_HMAC_SHA1_32", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 32, 80, 160, 160 }, { "AES_CM_128_HMAC_SHA1_32", 128, 112, 48, 31, AESCounterMode, 128, HMACSHA1, 32, 80, 160, 160 },
{ (char*) "F8_128_HMAC_SHA1_80", 128, 112, 48, 31, AESF8Mode, 128, HMACSHA1, 80, 80, 160, 160 } { "F8_128_HMAC_SHA1_80", 128, 112, 48, 31, AESF8Mode, 128, HMACSHA1, 80, 80, 160, 160 }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment