Richard Levitte
fcd2d5a612
Refactor the computation of API version limits
...
Previously, the API version limit was indicated with a numeric version
number. This was "natural" in the pre-3.0.0 because the version was
this simple number.
With 3.0.0, the version is divided into three separate numbers, and
it's only the major number that counts, but we still need to be able
to support pre-3.0.0 version limits.
Therefore, we allow OPENSSL_API_COMPAT to be defined with a pre-3.0.0
style numeric version number or with a simple major number, i.e. can
be defined like this for any application:
-D OPENSSL_API_COMPAT=0x10100000L
-D OPENSSL_API_COMPAT=3
Since the pre-3.0.0 numerical version numbers are high, it's easy to
distinguish between a simple major number and a pre-3.0.0 numerical
version number and to thereby support both forms at the same time.
Internally, we define the following macros depending on the value of
OPENSSL_API_COMPAT:
OPENSSL_API_0_9_8
OPENSSL_API_1_0_0
OPENSSL_API_1_1_0
OPENSSL_API_3
They indicate that functions marked for deprecation in the
corresponding major release shall not be built if defined.
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:48 +01:00
..
2018-03-07 14:01:05 -05:00
2017-04-07 13:30:04 -04:00
2018-09-11 13:45:17 +01:00
2018-03-01 20:09:01 +01:00
2018-01-16 17:34:08 +00:00
2017-07-26 20:06:51 +02:00
2018-03-20 13:08:46 +00:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-04-25 11:13:39 +01:00
2018-02-19 22:58:37 +01:00
2017-12-15 19:33:48 +01:00
2017-06-08 11:54:15 +01:00
2016-11-11 13:06:43 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2018-01-16 17:34:08 +00:00
2017-06-08 11:54:16 +01:00
2017-07-16 17:28:41 -04:00
2018-01-16 17:34:08 +00:00
2018-03-21 10:37:05 +00:00
2017-06-08 15:18:38 -04:00
2018-01-16 17:34:08 +00:00
2017-03-20 16:25:22 -04:00
2017-07-16 17:28:41 -04:00
2017-05-15 15:13:36 +02:00
2018-04-03 13:57:12 +01:00
2017-06-08 11:54:16 +01:00
2018-04-03 13:57:12 +01:00
2016-10-28 09:48:54 +01:00
2018-09-11 13:45:17 +01:00
2018-03-07 15:15:35 +01:00
2017-06-08 11:54:16 +01:00
2016-10-28 09:48:54 +01:00
2018-03-19 14:20:53 +01:00
2018-07-17 00:01:00 +02:00
2017-03-11 08:56:44 -05:00
2018-05-29 13:16:04 +01:00
2017-06-08 11:54:16 +01:00
2018-09-11 13:45:17 +01:00
2017-03-11 08:56:44 -05:00
2017-04-07 13:48:19 -04:00
2017-07-05 12:53:28 -05:00
2018-12-03 12:32:31 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-09-29 13:10:34 +02:00
2017-03-11 08:56:44 -05:00
2018-06-19 17:06:38 +02:00
2017-08-09 11:25:19 -04:00
2017-03-11 08:56:44 -05:00
2018-01-16 17:34:08 +00:00
2018-01-23 09:38:42 -05:00
2018-06-20 15:29:23 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2018-05-29 13:16:04 +01:00
2017-06-08 11:54:16 +01:00
2018-05-29 13:16:04 +01:00
2018-05-29 13:16:04 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2018-12-03 12:32:31 +01:00
2017-06-08 11:54:16 +01:00
2018-03-30 00:10:38 +02:00
2018-08-17 12:40:39 +02:00
2017-06-08 11:54:16 +01:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2018-01-16 17:34:08 +00:00
2018-05-14 15:56:59 +02:00
2018-03-20 13:08:46 +00:00
2017-06-08 11:54:16 +01:00
2018-03-10 13:13:23 -05:00
2017-10-26 10:28:33 -05:00
2018-10-08 09:09:15 +02:00
2016-11-11 13:06:43 +01:00
2018-12-03 12:32:31 +01:00
2018-05-29 13:16:04 +01:00
2018-04-03 13:57:12 +01:00
2017-10-12 02:40:30 +01:00
2016-11-11 13:06:43 +01:00
2017-04-07 12:19:46 -04:00
2018-01-16 17:34:08 +00:00
2017-06-08 11:54:16 +01:00
2018-01-16 17:34:08 +00:00
2018-01-16 17:34:08 +00:00
2018-12-03 12:32:31 +01:00
2018-05-29 13:16:04 +01:00
2018-04-03 13:57:12 +01:00
2016-11-11 13:06:43 +01:00
2017-04-07 12:19:46 -04:00
2016-11-11 13:06:43 +01:00
2018-06-20 15:29:23 +01:00
2018-01-16 17:34:08 +00:00
2016-11-02 14:00:12 +00:00
2017-09-06 08:30:00 +02:00
2018-03-12 19:34:13 +00:00
2017-03-11 08:56:44 -05:00
2017-06-08 11:54:16 +01:00
2018-09-11 13:45:17 +01:00
2017-03-11 08:56:44 -05:00
2017-06-08 11:54:16 +01:00
2018-05-29 13:16:04 +01:00
2018-07-31 09:08:50 +01:00
2018-06-02 16:17:32 -04:00
2017-03-11 08:56:44 -05:00
2018-12-03 12:32:31 +01:00
2017-03-02 12:35:44 -05:00
2017-03-02 12:35:44 -05:00
2017-06-08 11:54:16 +01:00
2017-03-02 12:35:44 -05:00
2018-12-03 12:32:31 +01:00
2018-01-16 17:34:08 +00:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2018-12-03 12:32:31 +01:00
2017-03-02 12:35:44 -05:00
2018-11-20 13:26:47 +00:00
2018-11-20 13:26:47 +00:00
2018-11-20 13:26:47 +00:00
2017-10-31 15:08:16 +01:00
2016-11-11 13:06:43 +01:00
2018-11-20 13:26:47 +00:00
2018-11-20 13:26:47 +00:00
2017-10-31 16:28:42 +01:00
2018-03-20 13:08:46 +00:00
2018-11-20 13:26:47 +00:00
2017-10-31 16:28:42 +01:00
2018-10-11 11:17:36 +08:00
2018-09-07 18:12:26 +08:00
2018-09-07 18:12:26 +08:00
2017-06-08 11:54:16 +01:00
2018-06-18 10:45:35 +01:00
2018-11-20 13:26:47 +00:00
2018-11-14 07:01:09 +10:00
2017-10-31 15:08:16 +01:00
2017-10-31 15:08:16 +01:00
2018-10-17 13:22:14 +03:00
2017-11-24 16:38:37 +01:00
2017-10-31 15:08:16 +01:00
2017-06-08 11:54:16 +01:00
2017-10-30 18:21:13 +01:00
2018-11-10 03:23:14 +02:00
2018-11-02 12:05:56 +08:00
2018-04-13 11:55:13 +02:00
2018-09-17 13:46:08 +10:00
2018-10-17 13:22:14 +03:00
2018-04-13 11:55:13 +02:00
2017-06-08 11:54:16 +01:00
2018-01-19 13:34:03 +01:00
2018-01-19 13:34:03 +01:00
2017-06-08 11:54:16 +01:00
2018-11-10 03:23:14 +02:00
2018-01-19 13:34:03 +01:00
2017-08-09 11:25:19 -04:00
2018-09-07 18:12:26 +08:00
2018-06-08 10:04:09 +01:00
2017-08-01 09:30:11 +10:00
2018-10-17 13:22:14 +03:00
2017-06-08 11:54:16 +01:00
2018-12-06 12:24:47 +01:00
2018-01-19 13:34:03 +01:00
2018-01-19 13:34:03 +01:00
2018-11-20 13:26:47 +00:00
2017-10-31 16:28:42 +01:00
2018-11-20 13:26:47 +00:00
2017-10-31 15:08:16 +01:00
2017-06-08 11:54:16 +01:00
2018-11-20 13:26:47 +00:00
2017-10-31 15:08:16 +01:00
2017-10-31 15:08:16 +01:00
2018-01-24 07:09:46 +10:00
2018-04-11 12:59:25 -04:00
2018-08-24 20:45:47 +08:00
2018-10-17 13:22:14 +03:00
2018-04-11 12:59:25 -04:00
2017-10-31 15:08:16 +01:00
2018-12-03 12:32:31 +01:00
2018-01-16 17:34:08 +00:00
2017-06-08 11:54:16 +01:00
2017-10-31 15:08:16 +01:00
2017-06-08 11:54:16 +01:00
2018-12-03 12:32:31 +01:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2017-06-08 11:54:15 +01:00
2018-09-11 13:45:17 +01:00
2018-02-13 13:59:25 +00:00
2016-11-11 13:06:43 +01:00
2018-12-03 12:32:31 +01:00
2018-01-19 13:34:03 +01:00
2018-12-06 12:24:48 +01:00
2018-04-19 11:10:17 +02:00
2018-03-22 11:54:31 +01:00
2018-04-20 15:45:06 +02:00
2018-01-16 17:34:08 +00:00
2018-08-07 09:08:35 +02:00
2017-10-09 07:50:18 +10:00
2018-01-16 17:34:08 +00:00
2018-04-17 15:18:40 +02:00
2018-10-17 14:03:59 +02:00
2017-07-29 19:30:39 +02:00
2018-12-06 12:24:47 +01:00
2018-03-09 11:30:06 -06:00
2017-08-15 21:37:04 +02:00
2018-03-10 13:13:23 -05:00
2018-05-14 15:56:59 +02:00
2018-03-10 13:13:23 -05:00
2018-05-29 13:16:04 +01:00
2017-05-08 21:17:28 +02:00
2018-05-26 08:36:42 +02:00
2018-05-29 13:16:04 +01:00
2018-05-29 13:16:04 +01:00
2018-05-29 13:16:04 +01:00
2017-06-08 11:54:16 +01:00
2017-06-11 16:21:33 -04:00
2017-06-11 16:21:33 -04:00
2017-06-08 11:54:16 +01:00
2018-06-18 10:45:35 +01:00
2018-05-29 13:16:04 +01:00
2018-12-03 10:57:01 +01:00
2018-12-03 12:32:31 +01:00
2018-12-03 12:32:31 +01:00
2018-12-06 12:24:48 +01:00
2018-03-30 00:10:38 +02:00
2018-03-30 00:10:38 +02:00
2018-10-02 09:25:59 +10:00
2018-03-30 00:10:38 +02:00
2018-04-11 18:56:03 +02:00
2018-03-30 00:10:38 +02:00
2018-03-30 00:10:38 +02:00
2018-03-30 00:10:38 +02:00
2018-03-30 00:10:38 +02:00
2017-10-31 15:08:16 +01:00
2018-01-16 17:34:08 +00:00
2018-12-03 12:32:31 +01:00
2018-05-29 13:16:04 +01:00
2018-09-17 09:14:03 +10:00
2017-06-08 11:54:16 +01:00
2018-11-30 12:32:25 +00:00
2017-06-08 11:54:16 +01:00
2017-07-18 11:16:39 +02:00
2017-06-08 11:54:15 +01:00
2017-06-08 11:54:16 +01:00
2017-06-08 11:54:16 +01:00
2018-01-16 17:34:08 +00:00
2017-06-08 11:54:15 +01:00
2018-01-16 17:34:08 +00:00
2017-06-08 11:54:15 +01:00
2017-06-08 11:54:16 +01:00
2016-11-11 13:06:43 +01:00
2018-05-29 13:16:04 +01:00
2018-11-15 10:53:47 +00:00
2018-11-15 10:53:47 +00:00
2018-11-15 10:53:47 +00:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2017-08-12 20:07:17 +02:00
2018-09-11 13:45:17 +01:00
2018-01-16 17:34:08 +00:00
2016-11-11 13:06:43 +01:00
2018-12-03 12:32:31 +01:00
2017-03-29 07:10:18 +02:00
2018-09-01 08:45:04 +08:00
2017-03-29 07:10:18 +02:00
2017-03-29 07:10:18 +02:00
2018-05-29 13:16:04 +01:00
2017-03-30 14:16:41 +02:00
2018-11-15 10:53:47 +00:00
2017-06-08 15:18:38 -04:00
2017-06-11 16:21:33 -04:00
2016-11-11 13:06:43 +01:00
2018-01-19 13:34:03 +01:00
2018-01-16 17:34:08 +00:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2017-06-08 11:54:15 +01:00
2018-09-11 13:45:17 +01:00
2017-03-29 07:10:18 +02:00
2016-11-11 13:06:43 +01:00
2018-06-21 14:54:27 +10:00
2018-01-16 17:34:08 +00:00
2018-11-12 14:29:11 +00:00
2018-11-20 13:26:47 +00:00
2018-02-13 13:59:25 +00:00
2017-04-19 12:38:27 -04:00
2018-09-01 08:45:04 +08:00
2016-11-11 13:06:43 +01:00
2018-06-21 14:54:27 +10:00
2018-03-20 13:08:46 +00:00
2018-01-16 17:34:08 +00:00
2017-09-08 13:58:59 -05:00
2017-03-30 14:16:41 +02:00
2016-11-11 13:06:43 +01:00
2017-06-08 11:54:15 +01:00
2017-03-29 07:18:57 +02:00
2017-06-08 11:54:16 +01:00
2018-05-01 13:34:30 +01:00
2018-01-16 17:34:08 +00:00
2016-11-11 13:06:43 +01:00
2017-09-15 10:04:47 -05:00
2018-09-11 13:45:17 +01:00
2018-01-16 17:34:08 +00:00
2018-05-17 16:48:25 +01:00
2018-07-02 15:06:12 +01:00
2018-09-01 09:06:10 +08:00
2018-11-20 13:26:47 +00:00
2018-09-11 13:45:17 +01:00
2017-06-11 16:21:33 -04:00
2018-01-16 17:34:08 +00:00
2016-12-29 01:29:39 +01:00
2016-11-11 13:06:43 +01:00
2018-05-11 14:51:09 +01:00
2017-11-05 17:46:48 +01:00
2018-11-15 10:53:47 +00:00
2016-11-11 13:06:43 +01:00
2018-03-12 19:34:13 +00:00
2016-11-11 13:06:43 +01:00
2017-09-08 13:58:59 -05:00
2017-06-08 11:54:16 +01:00
2018-05-01 13:34:30 +01:00
2018-03-20 13:08:46 +00:00
2017-06-11 16:28:11 -04:00
2018-12-03 10:57:01 +01:00
2018-09-07 11:17:55 +01:00
2018-04-26 16:39:55 +01:00
2018-09-01 09:06:10 +08:00
2017-05-03 14:42:52 +01:00
2016-11-11 13:06:43 +01:00
2018-12-05 10:55:04 +00:00
2017-07-16 17:28:41 -04:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2018-05-29 13:16:04 +01:00
2017-06-21 14:45:36 +01:00
2018-06-20 15:29:23 +01:00
2016-11-11 13:06:43 +01:00
2018-09-16 13:39:44 +02:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2017-01-18 01:40:36 +01:00
2016-11-11 13:06:43 +01:00
2018-11-12 16:55:38 -05:00
2018-11-20 13:26:47 +00:00
2017-06-21 08:59:18 -04:00
2016-11-11 13:06:43 +01:00
2018-05-01 13:34:30 +01:00
2018-09-11 13:45:17 +01:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2018-09-04 11:34:40 +01:00
2018-09-11 13:45:17 +01:00
2017-06-11 16:21:33 -04:00
2017-03-23 13:18:31 -04:00
2017-06-08 11:54:15 +01:00
2017-03-30 14:18:11 +02:00
2016-11-11 13:06:43 +01:00
2018-07-23 09:36:24 +01:00
2018-09-11 13:45:17 +01:00
2016-11-11 13:06:43 +01:00
2017-08-09 13:37:06 +10:00
2017-06-21 14:45:35 +01:00
2018-01-16 17:34:08 +00:00
2017-03-28 15:15:41 +01:00
2017-03-29 07:14:29 +02:00
2017-03-28 15:15:41 +01:00
2017-03-28 15:15:41 +01:00
2018-09-11 13:45:17 +01:00
2017-03-28 15:15:41 +01:00
2018-01-16 17:34:08 +00:00
2018-01-16 17:34:08 +00:00
2017-03-28 15:15:41 +01:00
2016-11-11 13:06:43 +01:00
2017-12-22 12:20:08 +01:00
2018-05-29 13:16:04 +01:00
2018-09-26 11:33:42 +08:00
2017-07-28 11:34:55 -04:00
2016-11-11 13:06:43 +01:00
2016-11-11 13:06:43 +01:00
2018-11-20 13:26:47 +00:00
2016-11-11 13:06:43 +01:00
2018-09-16 13:39:44 +02:00
2016-11-11 13:06:43 +01:00
2017-09-08 13:58:59 -05:00
2018-09-11 13:45:17 +01:00
2017-05-31 19:00:24 +02:00
2018-01-16 17:34:08 +00:00
2018-03-20 13:08:46 +00:00
2018-01-16 17:34:08 +00:00
2018-01-16 17:34:08 +00:00
2018-01-16 17:34:08 +00:00
2018-05-23 11:12:17 -04:00
2018-01-16 17:34:08 +00:00
2018-01-16 17:34:08 +00:00
2018-05-29 13:16:04 +01:00
2017-03-20 14:35:31 +01:00
2018-09-11 13:45:17 +01:00
2018-02-13 13:59:25 +00:00
2017-06-11 16:21:33 -04:00
2017-04-25 22:12:35 +01:00
2018-02-19 15:47:02 -05:00
2017-06-08 11:54:16 +01:00
2018-05-30 15:45:48 +02:00
2018-05-30 15:45:48 +02:00
2017-06-08 11:54:16 +01:00
2018-01-16 17:34:08 +00:00
2018-05-29 13:16:04 +01:00
2018-01-16 17:34:08 +00:00
2018-01-16 17:34:08 +00:00
2018-03-20 13:08:46 +00:00
2017-06-08 11:54:15 +01:00
2017-04-22 18:26:38 -04:00
2017-06-08 11:54:16 +01:00
2017-07-16 17:28:41 -04:00
2017-05-25 19:31:01 +02:00
2018-06-21 14:54:27 +10:00
2018-06-20 15:29:23 +01:00