From 44e8f392ae10dc5857f418fdbcaf99bfe4745409 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 22 Apr 2024 01:11:46 -0500 Subject: [PATCH] wolfcrypt/src/kdf.c: fix -Wconversions in wc_SRTCP_KDF_ex(). --- wolfcrypt/src/kdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/kdf.c b/wolfcrypt/src/kdf.c index 9614d0dd0b..15672e8f42 100644 --- a/wolfcrypt/src/kdf.c +++ b/wolfcrypt/src/kdf.c @@ -942,7 +942,7 @@ static void wc_srtp_kdf_first_block(const byte* salt, word32 saltSz, int kdrIdx, * @param [in] aes AES object to encrypt with. * @return 0 on success. */ -static int wc_srtp_kdf_derive_key(byte* block, byte indexSz, byte label, +static int wc_srtp_kdf_derive_key(byte* block, int indexSz, byte label, byte* key, word32 keySz, Aes* aes) { int i;