Fix a regression in Asterisk 1.6 related to the use of AES encryption.
1024 was used instead of 128 when using AES from OpenSSL. Many thanks to d1mas for figuring this one out! (closes issue #11946) Reported by: bbhoss Patches: v1-11946.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
566a005512
commit
4c457af2a8
|
@ -37,9 +37,9 @@
|
|||
typedef AES_KEY ast_aes_encrypt_key;
|
||||
typedef AES_KEY ast_aes_decrypt_key;
|
||||
|
||||
#define ast_aes_encrypt_key(key, context) AES_set_encrypt_key(key, 1024, context)
|
||||
#define ast_aes_encrypt_key(key, context) AES_set_encrypt_key(key, 128, context)
|
||||
|
||||
#define ast_aes_decrypt_key(key, context) AES_set_decrypt_key(key, 1024, context)
|
||||
#define ast_aes_decrypt_key(key, context) AES_set_decrypt_key(key, 128, context)
|
||||
|
||||
#define ast_aes_encrypt(in, out, context) AES_encrypt(in, out, context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue