Richard Levitte - VMS Whacker <[EMAIL PROTECTED]>:

>> Can't we just add SOME_STRUCTURE_new and SOME_STRUCTURE_free
>> functions for programs that want to be portable across
>> versions?

> I see that you're volunteering to take the support questions that will
> arise every time libcrypto.so and libssl.so are upgraded somewhere in
> the world :-).

Proposal: Turn SOME_STRUCTURE_init into a macro that calls
SOME_STRUCTURE_init_internal with the same arguments plus an
additional one that contains the version number.  The implementation
is like what SOME_STRUCTURE_init does now, but additionally checks
whether this additional argument matches the current version number;
if not, it pokes fun at the user for trying to mix incompatible
library versions.  There is no need to disturb programs that are only
meant to be used with statically linked libraries.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to