[asterisk-commits] russell: trunk r103739 - /trunk/include/asterisk/aes.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 15 17:14:32 CST 2008
Author: russell
Date: Fri Feb 15 17:14:32 2008
New Revision: 103739
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103739
Log:
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)
Modified:
trunk/include/asterisk/aes.h
Modified: trunk/include/asterisk/aes.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/aes.h?view=diff&rev=103739&r1=103738&r2=103739
==============================================================================
--- trunk/include/asterisk/aes.h (original)
+++ trunk/include/asterisk/aes.h Fri Feb 15 17:14:32 2008
@@ -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)
More information about the asterisk-commits
mailing list