openssl/engines
Richard Levitte 3a63dbef15 Switch to MAJOR.MINOR.PATCH versioning and version 3.0.0-dev
We're strictly use version numbers of the form MAJOR.MINOR.PATCH.
Letter releases are things of days past.

The most central change is that we now express the version number with
three macros, one for each part of the version number:

    OPENSSL_VERSION_MAJOR
    OPENSSL_VERSION_MINOR
    OPENSSL_VERSION_PATCH

We also provide two additional macros to express pre-release and build
metadata information (also specified in semantic versioning):

    OPENSSL_VERSION_PRE_RELEASE
    OPENSSL_VERSION_BUILD_METADATA

To get the library's idea of all those values, we introduce the
following functions:

    unsigned int OPENSSL_version_major(void);
    unsigned int OPENSSL_version_minor(void);
    unsigned int OPENSSL_version_patch(void);
    const char *OPENSSL_version_pre_release(void);
    const char *OPENSSL_version_build_metadata(void);

Additionally, for shared library versioning (which is out of scope in
semantic versioning, but that we still need):

    OPENSSL_SHLIB_VERSION

We also provide a macro that contains the release date.  This is not
part of the version number, but is extra information that we want to
be able to display:

    OPENSSL_RELEASE_DATE

Finally, also provide the following convenience functions:

    const char *OPENSSL_version_text(void);
    const char *OPENSSL_version_text_full(void);

The following macros and functions are deprecated, and while currently
existing for backward compatibility, they are expected to disappear:

    OPENSSL_VERSION_NUMBER
    OPENSSL_VERSION_TEXT
    OPENSSL_VERSION
    OpenSSL_version_num()
    OpenSSL_version()

Also, this function is introduced to replace OpenSSL_version() for all
indexes except for OPENSSL_VERSION:

    OPENSSL_info()

For configuration, the option 'newversion-only' is added to disable all
the macros and functions that are mentioned as deprecated above.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7724)
2018-12-06 12:24:47 +01:00
..
asm Update copyright year 2018-03-20 13:08:46 +00:00
build.info Change the build of engines to use ordinal files for symbol export 2018-10-05 08:22:42 +02:00
e_afalg_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_afalg_err.h make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_afalg.c Replace accidentally used C99 macro __func__ with __FILE__/__LINE__ 2018-06-23 19:18:30 +02:00
e_afalg.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_afalg.h extending afalg with aes-cbc-192/256, afalgtest.c also updated accordingly. comments from matt, Stephen considered 2017-12-08 10:39:52 +00:00
e_afalg.txt Put message strings in state files 2017-06-12 15:03:40 -04:00
e_capi_err.c Put message strings in state files 2017-06-12 15:03:40 -04:00
e_capi_err.h make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_capi.c CAPI engine: add support for RSA_NO_PADDING 2018-09-11 10:27:46 +01:00
e_capi.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_capi.txt Put message strings in state files 2017-06-12 15:03:40 -04:00
e_dasync_err.c Put message strings in state files 2017-06-12 15:03:40 -04:00
e_dasync_err.h make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_dasync.c Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
e_dasync.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_dasync.txt Put message strings in state files 2017-06-12 15:03:40 -04:00
e_ossltest_err.c Put message strings in state files 2017-06-12 15:03:40 -04:00
e_ossltest_err.h make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_ossltest.c Use the TLSv1.3 record header as AAD 2018-03-14 09:51:20 +00:00
e_ossltest.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_ossltest.txt Put message strings in state files 2017-06-12 15:03:40 -04:00
e_padlock.c Switch to MAJOR.MINOR.PATCH versioning and version 3.0.0-dev 2018-12-06 12:24:47 +01:00