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

[#1722] Init _remoteMasterKey/_remoteMasterSalt

parent 2eec710b
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,16 @@ void AudioSrtpSession::unBase64ConcatenatedKeys(std::string base64keys) ...@@ -175,6 +175,16 @@ void AudioSrtpSession::unBase64ConcatenatedKeys(std::string base64keys)
} }
printf("\n"); printf("\n");
for (int i = 0; i < 16; i++) {
_remoteMasterKey[i] = output[i];
}
for (int i = 0; i < 14; i++) {
_remoteMasterSalt[i] = output[i+16];
}
free(output); free(output);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment