add stuff
parent
6c0223d8a4
commit
1876a53a94
|
@ -16,7 +16,7 @@ futures = "0.3"
|
||||||
handy_async = "0.2"
|
handy_async = "0.2"
|
||||||
hmac = "0.10.1"
|
hmac = "0.10.1"
|
||||||
num = "0.1"
|
num = "0.1"
|
||||||
sha-1 = "0.9.2"
|
sha-1 = "0.9.8"
|
||||||
trackable = "0.1"
|
trackable = "0.1"
|
||||||
|
|
||||||
openssl = { version = "0.10", optional = true }
|
openssl = { version = "0.10", optional = true }
|
||||||
|
|
|
@ -361,6 +361,7 @@ impl Protocol for Srtcp {
|
||||||
impl<P: Protocol> Context<P>
|
impl<P: Protocol> Context<P>
|
||||||
where
|
where
|
||||||
u64: From<P::PacketIndex>,
|
u64: From<P::PacketIndex>,
|
||||||
|
P::PacketIndex: Into<BigUint>,
|
||||||
{
|
{
|
||||||
pub fn new(master_key: &[u8], master_salt: &[u8]) -> Self {
|
pub fn new(master_key: &[u8], master_salt: &[u8]) -> Self {
|
||||||
Context {
|
Context {
|
||||||
|
|
Loading…
Reference in New Issue