Hello. This is a small feature request that's applicable to all operating systems.
*The problem.* The version numbers for OpenSSL appear in the header opensslv.h as macro symbols: OPENSSL_VERSION_NUMBER OPENSSL_VERSION_TEXT Unfortunately, it seems that neither of these two variables are actually used in the OpenSSL library. This is a pity, because it means that a program that links to the OpenSSL library has no way to tell if it's *linking* to the correct library - you can only tell if you are *compiling* with the right header. *A possible solution.* A possible solution is to have two global variables declared in opensslv.h, defined as: long long openssl_version_number = OPENSSL_VERSION_NUMBER; const char* openssl_version_text = OPENSSL_VERSION_TEXT; (It wasn't quite clear to me which file should contain the definitions...) Then a program linking to this library can read either of these global variables at runtime and fail to start or emit a warning if the version isn't up-to-date. Thanks for your consideration! ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
