Rich Salz
9c3bcfa027
Standardize handling of #ifdef'd options.
...
Here are the "rules" for handling flags that depend on #ifdef:
- Do not ifdef the enum. Only ifdef the OPTIONS table. All ifdef'd
entries appear at the end; by convention "engine" is last. This
ensures that at run-time, the flag will never be recognized/allowed.
The next two bullets entries are for silencing compiler warnings:
- In the while/switch parsing statement, use #ifdef for the body to
disable it; leave the "case OPT_xxx:" and "break" statements outside
the ifdef/ifndef. See ciphers.c for example.
- If there are multiple options controlled by a single guard, OPT_FOO,
OPT_BAR, etc., put a an #ifdef around the set, and then do "#else"
and a series of case labels and a break. See OPENSSL_NO_AES in cms.c
for example.
Reviewed-by: Matt Caswell <matt@openssl.org>
2015-06-02 12:40:24 -04:00
..
1998-12-21 10:52:47 +00:00
2011-03-16 11:50:33 +00:00
2015-04-24 15:26:15 -04:00
2015-05-29 12:41:50 +02:00
2015-05-29 12:41:50 +02:00
2015-05-29 12:09:25 +01:00
2000-10-16 22:56:10 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2015-05-29 12:41:50 +02:00
2011-03-25 16:20:35 +00:00
2015-05-04 15:07:52 -04:00
1998-12-21 10:56:39 +00:00
2015-06-02 12:40:24 -04:00
2011-12-08 14:44:05 +00:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
2015-06-02 12:40:24 -04:00
2015-06-02 12:40:24 -04:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2000-08-02 09:04:44 +00:00
2015-06-02 12:40:24 -04:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1999-01-09 17:29:34 +00:00
1999-01-09 17:29:34 +00:00
2015-06-02 12:40:24 -04:00
1998-12-21 10:56:39 +00:00
2015-06-02 12:40:24 -04:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
2015-04-24 15:26:15 -04:00
2015-06-02 12:40:24 -04:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
2011-03-19 10:58:14 +00:00
2015-04-24 15:26:15 -04:00
2015-05-23 06:14:22 +02:00
2015-05-29 12:41:50 +02:00
2015-06-02 12:22:38 -04:00
2014-09-24 15:35:02 +02:00
2015-06-02 11:53:12 -04:00
2014-09-08 17:21:04 -04:00
2015-05-05 22:18:59 -04:00
2015-06-02 12:40:24 -04:00
2000-10-16 22:56:10 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2015-05-29 12:41:50 +02:00
2015-05-30 23:07:06 +01:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
2015-05-29 12:41:50 +02:00
2015-05-29 12:41:50 +02:00
2015-05-29 12:41:50 +02:00
2009-09-06 15:49:46 +00:00
2015-04-24 15:26:15 -04:00
2015-04-24 15:26:15 -04:00
2015-05-29 12:41:50 +02:00
2015-06-02 12:40:24 -04:00
1998-12-21 10:56:39 +00:00
1998-12-21 10:52:47 +00:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
1998-12-21 10:52:47 +00:00
2015-05-05 22:18:59 -04:00
2015-05-20 17:51:52 -04:00
2015-06-02 12:40:24 -04:00
2015-06-02 12:40:24 -04:00
2015-05-05 22:18:59 -04:00
2015-06-02 12:40:24 -04:00
2011-12-08 14:44:05 +00:00
2011-12-08 14:44:05 +00:00
1998-12-21 10:56:39 +00:00
2015-05-01 14:37:16 -04:00
2015-05-29 12:41:50 +02:00
2015-06-02 12:40:24 -04:00
2015-05-29 12:41:50 +02:00
2015-05-29 12:41:50 +02:00
1998-12-21 10:52:47 +00:00
2015-04-24 15:26:15 -04:00
2015-01-22 09:20:09 +00:00
2015-01-22 09:20:09 +00:00
2015-06-02 12:40:24 -04:00
2009-09-07 17:57:18 +00:00
2015-06-02 12:40:24 -04:00
2015-04-24 15:26:15 -04:00
2015-05-04 15:00:13 -04:00
2015-04-24 15:26:15 -04:00
2015-06-02 12:40:24 -04:00