Shachar Shemesh wrote:
> :-( ). If you can send a patch, or at least send the line number in
> which this happens, that will be most helpful.

Patch attached.

Thanks.

-- 
Milton Calnek BSc, A/Slt(Ret.)
mil...@calnek.com
306-382-3657


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--- aes_crypt.cpp	(revision 158)
+++ aes_crypt.cpp	(working copy)
@@ -96,10 +96,10 @@
 
 void aes_key::encrypt_block( unsigned char *data, size_t size )
 {
-    AES_cbc_encrypt( data, data, size, &encrypt_key, cbc_base, AES_ENCRYPT );
+    AES_cbc_encrypt( data, data, AES_BLOCK_SIZE, &encrypt_key, cbc_base, AES_ENCRYPT );
 }
 
 void aes_key::decrypt_block( unsigned char *data, size_t size )
 {
-    AES_cbc_encrypt( data, data, size, &decrypt_key, cbc_base, AES_DECRYPT );
+    AES_cbc_encrypt( data, data, AES_BLOCK_SIZE, &decrypt_key, cbc_base, AES_DECRYPT );
 }
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to