Skip to content

Commit

Permalink
fix SRTP bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Jun 20, 2024
1 parent 740c6cf commit 4007076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtc-srtp/src/cipher/cipher_aead_aes_gcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ impl CipherAeadAesGcm {
master_key,
master_salt,
0,
master_key.len(),
master_salt.len(),
)?;

let srtcp_session_salt = aes_cm_key_derivation(
LABEL_SRTCP_SALT,
master_key,
master_salt,
0,
master_key.len(),
master_salt.len(),
)?;

Ok(CipherAeadAesGcm {
Expand Down

0 comments on commit 4007076

Please sign in to comment.