Skip to content
Snippets Groups Projects
Commit 4c457af2 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent 566a0055
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment