add stuff

dtls-srtp
anon 2023-10-26 18:08:16 +03:00
parent 6c0223d8a4
commit 1876a53a94
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ futures = "0.3"
handy_async = "0.2"
hmac = "0.10.1"
num = "0.1"
sha-1 = "0.9.2"
sha-1 = "0.9.8"
trackable = "0.1"
openssl = { version = "0.10", optional = true }

View File

@ -361,6 +361,7 @@ impl Protocol for Srtcp {
impl<P: Protocol> Context<P>
where
u64: From<P::PacketIndex>,
P::PacketIndex: Into<BigUint>,
{
pub fn new(master_key: &[u8], master_salt: &[u8]) -> Self {
Context {