"Richard Levitte via RT" <[EMAIL PROTECTED]> (2002-08-11 21:38:11) wrote:

> > The 'openssl <some_digest>' command produces incorrect results when
> > linked dynamically against the (newly created) libssl.so.0.9.6,
> > libcrypto.so.0.9.6.  It seems to ignore the selected hash algorithm
> > and displays the md5 hash instead.
> 
> Hmm, one question: did you install your newly compiled version of
> OpenSSL, or is /usr/lib/libssl.so.0.9.6 from somewhere else?
The /usr/lib/lib[ssl|crypto].so.0.9.6 where compiled from the sources
of 0.9.6g-engine; they were not installed from somewhere else.

Let me explain the whole thing once again.  I compiled 0.9.6g from
source.  The compiled apps/openssl uses the newly created ../lib*.a by
default.  This binary works as expected.  After making 'build-shared',
(manually) installing lib*so* in /usr/lib and making sure that other
programs which need them (eg.  openssh) work fine, I (manually)
changed the apps/Makefile to use the /usr/lib[ssl|crypto]*so libraries
instead of ../lib*.a.  It's _this_ binary that shows the erratic
behaviour.  This is _not_ the apps/openssl binary created by default.

> If this was a general problem with shared libraries vs. static ones,
> I can tell you that we would have been in trouble for a long time
> (when building 0.9.7 (in beta) with shared library support, you get
> openssl linked with the shared library, and if there was any problem
> like what you show us, we would already have discovered it).
As I mentioned earlier the apps/openssl binary created by default
works fine (and this might explain why no similar problem has been
reported). It's the binary that I manually compiled using lib*.so
which gives me problems.
 
> I assume there is a /usr/bin/openssl, so if you run the following
> command, what version number do you get?
> 
> > /usr/bin/openssl version
Irrelevant.  It's apps/openssl that I have problems with.
$ apps/openssl version
OpenSSL 0.9.6g [engine] 9 Aug 2002


Thanks for your reply.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to