This is the mail archive of the
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: openssl-0.9.8a-1 - core dump
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 1 Nov 2005 11:07:44 +0100
- Subject: Re: [ANNOUNCEMENT] Updated: openssl-0.9.8a-1 - core dump
- References: <cygwin.20051011133249.GA1580@calimero.vinschen.de> <0MKsUu-1EWe9g3eiHfirstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Oct 31 19:13, Ralf Hauser wrote:
> Hi Corinna,
> As per your message cited below, I am trying to use the new openssl version
> as follows and it core dumps:
> >>> openssl smime -decrypt -inkey decryptionKey.pem -in
> >>>Enter pass phrase for decryptionKey.pem:
> >>>Segmentation fault (core dumped)
> >>>What did I do wrong?
No idea. What did you do before to create the files decryptionKey.pem
and mimeMessageEncrypted.eml? I'm building OpenSSL, but that doesn't
mean I'm overly fluent in using the command line tool.
> >>Are you by any chance using the 0.9.8a 'smime' utility with the older
> >>'0.9.8' OpenSSL shared library? If so the you'd get that result
> >>because the required functionality isn't in 0.9.8, only 0.9.8a.
> [email@example.com] ... you said:
> > "Cygwin: OpenSSL 0.9.8a 11 Oct 2005 (Library: OpenSSL 0.9.8 05 Jul 2005)"
> > You get that when the shared library (DLL) isn't the same as the openssl
> > utility version. This is the cause of the problems.
> > You need to find where the DLL is that the openssl utility is using and
> > replace it with the 0.9.8a version. It might be called something like
> > cryptoeay32-0.9.8.dll
> I only find
> where do you put the openssl libraries?
/usr/bin, as all DLLs. But you can't see which version they are since
both versions, 0.9.8 as well as 0.9.8a use the same versioning:
> > You can tell the difference by doing:
> > nm whatever.dll | grep X509_VERIFY_PARAM_set_flags
> > nm whatever.dll | grep X509_VERIFY_PARAM_get_flags
> > If you don't get any output for X509_VERIFY_PARAM_get_flags its the
> > 0.9.8 library. If you get output for both its 0.9.8a or later. If you
> > don't get output for either its probably 0.9.7X.
The above method won't help since the DLLs don't have symbols. You have
to use the dll link lib. On my system, with 0.9.8a installed:
$ cd /usr/lib
$ nm libcrypto.dll.a | grep X509_VERIFY_PARAM_set_flags
00000000 T _X509_VERIFY_PARAM_set_flags
00000000 I __imp__X509_VERIFY_PARAM_set_flags
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html