Willy Tarreau
a8a83bcc80
BUILD: ssl_utils: fix build on gcc versions before 8
...
Commit 960fb74ca ("MEDIUM: ssl: {ca,crt}-ignore-err can now use error
constant name") provided a very convenient way to initialize only desired
macros. Unfortunately with gcc versions older than 8, it breaks with:
src/ssl_utils.c:473:12: error: initializer element is not constant
because it seems that the compiler cannot resolve strings to constants
at build time.
This patch takes a different approach, it stores the value of the macro
as a string and this string is converted to integer at boot time. This
way it works everywhere.
2022-11-14 11:12:49 +01:00
..
2022-09-08 16:38:10 +02:00
2022-08-23 20:19:11 +02:00
2022-10-03 15:04:55 +02:00
2022-05-27 19:33:35 +02:00
2022-06-23 11:49:09 +02:00
2022-10-03 14:30:08 +02:00
2022-07-15 19:41:26 +02:00
2022-10-30 17:17:56 +01:00
2022-11-10 13:28:37 +01:00
2022-10-30 17:17:56 +01:00
2022-05-27 19:33:34 +02:00
2022-10-12 21:49:30 +02:00
2022-08-17 10:45:22 +02:00
2022-11-10 16:42:47 +01:00
2022-10-30 17:17:56 +01:00
2022-10-03 12:06:36 +02:00
2022-07-15 19:43:10 +02:00
2022-09-17 11:27:09 +02:00
2022-08-03 10:30:07 +02:00
2022-10-30 17:17:56 +01:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-09 11:15:22 +02:00
2022-07-15 20:16:30 +02:00
2022-10-12 21:49:30 +02:00
2022-05-16 16:00:26 +02:00
2022-10-04 08:38:47 +02:00
2022-10-10 15:49:09 +02:00
2022-10-24 09:00:14 +02:00
2022-08-29 09:57:33 +02:00
2022-10-12 14:19:05 +02:00
2022-05-27 19:33:35 +02:00
2022-05-24 15:38:05 +02:00
2022-10-04 08:02:03 +02:00
2022-09-02 11:19:07 +02:00
2022-05-30 09:59:26 +02:00
2022-10-03 16:25:17 +02:00
2022-10-13 16:50:22 +02:00
2022-10-12 14:19:05 +02:00
2022-10-30 17:17:56 +01:00
2022-09-20 07:41:58 +02:00
2022-09-20 15:35:29 +02:00
2022-09-02 19:24:12 +02:00
2022-10-30 17:17:56 +01:00
2022-11-04 11:29:18 +01:00
2022-10-04 09:18:34 +02:00
2022-08-18 16:13:33 +02:00
2022-07-06 17:54:03 +02:00
2022-09-12 10:12:18 +02:00
2022-10-27 11:28:53 +02:00
2022-06-08 15:28:38 +02:00
2022-05-27 19:33:35 +02:00
2022-10-12 17:10:37 +02:00
2022-10-30 17:17:56 +01:00
2022-10-03 12:06:36 +02:00
2022-05-27 19:33:35 +02:00
2022-10-26 18:18:26 +02:00
2022-10-21 14:03:29 +02:00
2022-08-06 17:12:51 +02:00
2022-08-01 11:59:46 +02:00
2022-05-27 19:33:35 +02:00
2022-10-30 17:17:56 +01:00
2022-08-17 10:34:00 +02:00
2022-10-13 11:06:48 +02:00
2022-07-25 16:11:11 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-09-09 17:23:01 +02:00
2022-10-12 21:45:39 +02:00
2022-09-20 15:35:33 +02:00
2022-10-18 12:04:10 +02:00
2022-08-17 11:04:53 +02:00
2022-05-30 14:30:05 +02:00
2022-07-30 10:00:59 +02:00
2022-08-03 14:27:20 +02:00
2022-10-03 16:25:17 +02:00
2022-10-03 16:25:17 +02:00
2022-10-30 17:17:56 +01:00
2022-10-03 16:25:17 +02:00
2022-10-13 10:12:03 +02:00
2022-10-30 17:17:56 +01:00
2022-10-30 17:17:56 +01:00
2022-10-13 10:12:03 +02:00
2022-10-03 16:25:17 +02:00
2022-10-30 17:17:56 +01:00
2022-08-29 18:45:27 +02:00
2022-09-01 19:34:46 +02:00
2022-09-27 11:18:17 +02:00
2022-10-13 16:45:28 +02:00
2022-09-08 14:19:15 +02:00
2022-11-10 16:42:47 +01:00
2022-09-09 11:15:22 +02:00
2022-10-24 16:00:49 +02:00
2022-10-11 16:46:04 +02:00
2022-07-15 19:58:06 +02:00
2022-07-25 16:11:11 +02:00
2022-10-30 19:00:06 +01:00
2022-06-20 17:27:49 +02:00
2022-11-10 13:28:37 +01:00
2022-11-10 16:56:21 +01:00
2022-11-14 11:12:49 +01:00
2022-09-09 17:24:22 +02:00
2022-09-27 11:18:11 +02:00
2022-10-24 10:55:53 +02:00
2022-10-25 18:04:54 +02:00
2022-09-08 16:21:22 +02:00
2022-05-27 19:33:35 +02:00
2022-06-13 08:04:10 +02:00
2022-09-03 06:11:08 +02:00
2022-10-03 15:31:22 +02:00
2022-08-06 16:45:26 +02:00
2022-10-03 09:24:26 +02:00
2022-06-08 15:28:38 +02:00
2022-07-01 19:26:35 +02:00
2022-06-23 11:49:09 +02:00
2022-10-26 18:18:26 +02:00