Skip to content

Commit

Permalink
use correct function type
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pabuhler committed Dec 12, 2023
1 parent 31e13a2 commit 9ed4042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/include/cipher.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ed4042

Please sign in to comment.