diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2020-05-05 09:52:25 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2020-05-06 12:32:42 +0200 |
commit | 500a7615173c8ae2362a05e1affd376ab2b41a94 (patch) | |
tree | 0253e6bcb5a467aca46a9c6f18743abe31fd7b3c /include | |
parent | 35774d5594af9beeb73792742b7ed901d202be70 (diff) |
The synthesized OPENSSL_VERSION_NUMBER must be long
(to keep API compatibility with older releases)
Fixes #11716
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11732)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/opensslv.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/opensslv.h.in b/include/openssl/opensslv.h.in index ffd2bfff32..d9eee21c2d 100644 --- a/include/openssl/opensslv.h.in +++ b/include/openssl/opensslv.h.in @@ -91,9 +91,9 @@ extern "C" { /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ # ifdef OPENSSL_VERSION_PRE_RELEASE -# define _OPENSSL_VERSION_PRE_RELEASE 0x0 +# define _OPENSSL_VERSION_PRE_RELEASE 0x0L # else -# define _OPENSSL_VERSION_PRE_RELEASE 0xf +# define _OPENSSL_VERSION_PRE_RELEASE 0xfL # endif # define OPENSSL_VERSION_NUMBER \ ( (OPENSSL_VERSION_MAJOR<<28) \ |