Shachar Shemesh wrote:
> Milton Calnek wrote:
>> I'm going to try using a static block of 16 chars to see if that gets
>> me past the seg fault.
>>
>>   
> Debian Lenny currently carries openssl 0.9.8g, and rsyncrypto compiles
> and runs without a hitch there. Maybe it's a specific problem to your
> version?
> 

I'm still in the process of trying to compile 0.9.8g and 0.9.8k to see if that 
helps.

I see that F9 is using g... I'll try and use that src.rpm.

FWIW: here's what I see:
A file is encrypted... aes_key::encrypt_block() is called multiple times.
It's unlikely that a file would be exactly a multiple of 16 bytes, so there will
be some left over.

On the last call to aes_key::encrypt_block(), size is less than 16, for some 
reason
AES_cbc_encrypt() has a seg fault when size is not the block size.

When I change size (3rd arg to AES_cbc_encrypt()) to either 16 or sizeof(data),
I don't get a core dump.


-- 
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.


------------------------------------------------------------------------------
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