On Mon, Mar 05, 2007 at 12:15:08AM +0100, Kurt Roeckx wrote:
> On Sun, Mar 04, 2007 at 11:38:29PM +0100, [EMAIL PROTECTED] 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.

Which I of course forgot to attach.

> I'll upload a fixed version shortly.

Which I've done now.


Kurt
Modified: openssl/trunk/crypto/evp/evp_lib.c
===================================================================
--- openssl/trunk/crypto/evp/evp_lib.c  2007-03-04 23:20:30 UTC (rev 212)
+++ openssl/trunk/crypto/evp/evp_lib.c  2007-03-04 23:24:23 UTC (rev 213)
@@ -225,7 +225,7 @@
 
 int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx)
        {
-       return ctx->cipher->key_len;
+       return ctx->key_len;
        }
 
 int EVP_CIPHER_nid(const EVP_CIPHER *cipher)

Reply via email to