Bug#412979: [Pkg-openssl-devel] Bug#412979: Small sample program illustrating the problem

Kurt Roeckx kurt at roeckx.be
Mon Mar 5 00:15:08 CET 2007


On Sun, Mar 04, 2007 at 11:38:29PM +0100, maf at appgate.com wrote:
> I have extracted the calls which encfs make to openssl into a small test
> program. I compiled it with 0.9.8c and 0.9.8e and the results were (I
> had expected the final hex-string to be identical):

Thanks for the test case!

The attached patch should fix this.

Upstream changelog:
revision 1.10.2.2
date: 2007-02-27 18:42:52 +0000;  author: steve;  state: Exp;  lines: +1 -1
EVP_CIPHER_CTX_key_length() should return the set key length in the
EVP_CIPHER_CTX structure which may not be the same as the underlying
cipher key length for variable length ciphers.

I'll upload a fixed version shortly.


Kurt





More information about the Pkg-openssl-devel mailing list