Dr. Stephen Henson wrote:
On Fri, Sep 28, 2007, jimmy bahuleyan wrote:
Kaushalye Kapuruge wrote:
Hi Listers,
I'm having a problem shipping my (xml security)library, which is based
on openssl crypto implementation.
I have statically linked it with the ssl and crypto libraries (-lssl
-lcrypto).
Are you sure you have statically linked in the Openssl libraries? If it
was, then I don't think you'd get link errors for these symbols.
I also believe all versions of 0.9.x to be binary compatible for the
same 'x'.
Well backward binary compatible.
So 0.9.8e may introduce features or include functions not in say 0.9.8d.
Some macros were converted into functions in 0.9.8e so this will cause issues
when attempting to use 0.9.8e compiled binaries against an earlier version of
the library because those functions will not exist.
So to answer the OPs question. Ideally users of older versions should upgrade
in order to get bug and security fixes. If that isn't practical then compile
and link your applications against the lowest version of OpenSSL you will need
to be binary compatible with.
That answered. :) I'm using 0.9.8e for the linking I guess. That gives
the prefix @@OPENSSL_0.9.8 for the symbols. So better to go with a lower
version like 0.9.8a.
Thanks Steve for the help.
Cheers,
Kau
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]
--
http://kaushalye.blogspot.com/
http://wso2.org/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]