This solves the problem of applications not being able to uniquely select a
specific instance of OpenSSL libraries.

That isn't sufficient for anything except possibly windows.

On Unix you'll also need to change SONAME (or the equivalent), prefix all
the public entry points to the libraries and massage the OpenSSL headers to
match to avoid crashes with a mix of OpenSSL binaries in the same process.
On the Unix's symbol resolution is something of a lottery and varies even
between releases of the same OS. Since the OpenSSL data objects change in
size between releases of OpenSSL calling the wrong entry point with data
structure that isn't exactly what was expected causes some interesting
problems.

It's not an impossible problem to solve, but it does require a lot more
than a simple rename of the libs.

Peter




From:   "Eichenberger, John" <john.eichenber...@intermec.com>
To:     "openssl-dev@openssl.org" <openssl-dev@openssl.org>,
Date:   29/01/2014 07:55
Subject:        Define a method to rename dynamic libraries [patch]
Sent by:        owner-openssl-...@openssl.org



This patch was developed for use with Windows Mobile Dlls, but I think it
either works or is close to working for any OS build.
The patch itself only enables the ability to rename dynamic libraries using
an environment variable named CRYPTO_PREFIX.
Unless that environment variable is defined, nothing is really different.

When it is defined it is prepended to the names of the libraries,
effectively creating uniquely named libraries.
This solves the problem of applications not being able to uniquely select a
specific instance of OpenSSL libraries.

-Ike-
John Eichenberger
Principal Engineer: Sustaining Engineering: Intermec by Honeywell
425.265.2108  john.eichenber...@intermec.com



This message is intended only for the named recipient. If you are not the
intended recipient, you are notified that disclosing, copying, distributing
or taking any action based on the contents of this information is strictly
prohibited.

[attachment "RenameDLLs.patch" deleted by Peter Waltenberg/Australia/IBM]



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to