Re: Rsyncrypto and openssl-0.9.8c+
Brought to you by:
thesun
From: Milton C. <mi...@ca...> - 2009-08-15 19:09:30
|
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.) mi...@ca... 306-382-3657 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |