From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i586)
Description of problem:
Contrary to the documentation EVP_DecryptInit coredumps if the EVP context is
The OpenSSL team reports that this bug was fixed a couple of weeks ago.
Also received the following oneliner which from another user:
Date: Fri, 7 Feb 2003 11:57:35 -0800
From: Larry West <lwest@Entropia.com>
Subject: Re: [openssl.org #494] 0.9.7 EVP_DecryptInit coredumps if ctx not
I haven't checked, but this may already be fixed in the latest source. In any
case, there's a one-line fix (I ran into the same problem): change
EVP_DecryptInit() so that it calls EVP_CipherInit() rather than
> my one line fix would be to change line 239
> of crypto\evp\evp_enc.c (in EVP_DecryptInit())
> return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, 0);
> return EVP_CipherInit(ctx, cipher, key, iv, 0);
And the OpenSSL team response to this fix was:
From: Dr. Stephen Henson [mailto:email@example.com]
Sent: Thursday, January 16, 2003 16:46
Subject: Re: Apparent bug: OpenSSL 0.9.7 crypto/evp_enc.c
Agreed, fix being checked in. Thanks for the report.
The response I received from the OpenSSL team:
Date: Fri, 7 Feb 2003 21:05:07 +0100 (MET)
From: Stephen Henson via RT <firstname.lastname@example.org>
Subject: [openssl.org #494] 0.9.7 EVP_DecryptInit coredumps if ctx not
> Contrary to the documentation EVP_DecryptInit requires the ctx to be
> initialized in OpenSSL 0.9.7 (RedHat openssl 0.9.7-3 i686)
This was fixed a couple of weeks back. The fix is in any 0.9.7 stable
snapshot and will appear in 0.9.7.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
See OpenSSL bug report linked in the URL field.
Fixing in 0.9.7-6. Thanks!