diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2018-12-09 17:10:29 -0500 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-09-05 21:48:41 +0200 |
commit | 7e8c3381937354cf171ceaf4c69315e9a45d4858 (patch) | |
tree | f4af4acda1306a98499d21c8acf6b7b82556eaff /crypto/cversion.c | |
parent | 464ac47f81c07d5630026d3ce1251da00c469e00 (diff) |
Undeprecate OpenSSL_version_num and OPENSSL_VERSION_NUMBER
The OpenSSL_version_num() function returns at runtime the
OPENSSL_VERSION_NUMBER of the compiled OpenSSL library. This is a
used and useful interface, and should not (at least yet) be
deprecated, we just introduced the new versioning schema, it seems
too early to deprecate the old.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7853)
Diffstat (limited to 'crypto/cversion.c')
-rw-r--r-- | crypto/cversion.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/cversion.c b/crypto/cversion.c index 2a0dcf9445..c81f56f42b 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -11,12 +11,10 @@ #include "buildinf.h" -#if !OPENSSL_API_3 unsigned long OpenSSL_version_num(void) { return OPENSSL_VERSION_NUMBER; } -#endif unsigned int OPENSSL_version_major(void) { |