mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 09:44:26 +00:00
[srtp] scan-build: Fix dead assignments.
This commit is contained in:
parent
09b40e052f
commit
148e02bc67
@ -1046,7 +1046,6 @@ srtp_err_status_t srtp_stream_init_keys(srtp_stream_ctx_t *srtp,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Reuse main KDF. */
|
/* Reuse main KDF. */
|
||||||
rtp_xtn_hdr_keylen = rtp_keylen;
|
|
||||||
rtp_xtn_hdr_base_key_len = rtp_base_key_len;
|
rtp_xtn_hdr_base_key_len = rtp_base_key_len;
|
||||||
rtp_xtn_hdr_salt_len = rtp_salt_len;
|
rtp_xtn_hdr_salt_len = rtp_salt_len;
|
||||||
xtn_hdr_kdf = &kdf;
|
xtn_hdr_kdf = &kdf;
|
||||||
@ -2601,7 +2600,7 @@ srtp_err_status_t srtp_unprotect_mki(srtp_ctx_t *ctx,
|
|||||||
return status;
|
return status;
|
||||||
|
|
||||||
/* now compute auth function over packet */
|
/* now compute auth function over packet */
|
||||||
status = srtp_auth_update(session_keys->rtp_auth, (uint8_t *)auth_start,
|
srtp_auth_update(session_keys->rtp_auth, (uint8_t *)auth_start,
|
||||||
*pkt_octet_len - tag_len - mki_size);
|
*pkt_octet_len - tag_len - mki_size);
|
||||||
|
|
||||||
/* run auth func over ROC, then write tmp tag */
|
/* run auth func over ROC, then write tmp tag */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user