From 9ed404273900ce721173447e307a1eb94359aa80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20B=C3=BChler?= Date: Fri, 1 Dec 2023 13:57:38 +0100 Subject: [PATCH] use correct function type There is a decrypt function type defined so use it in the struct. It has the same signature as the encrypt function so will not cause an issue. --- crypto/include/cipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/include/cipher.h b/crypto/include/cipher.h index 4f14e3560..43d453e6f 100644 --- a/crypto/include/cipher.h +++ b/crypto/include/cipher.h @@ -153,7 +153,7 @@ typedef struct srtp_cipher_type_t { srtp_cipher_init_func_t init; srtp_cipher_set_aad_func_t set_aad; srtp_cipher_encrypt_func_t encrypt; - srtp_cipher_encrypt_func_t decrypt; + srtp_cipher_decrypt_func_t decrypt; srtp_cipher_set_iv_func_t set_iv; srtp_cipher_get_tag_func_t get_tag; const char *description;