Petr Štetiar
a1d76d41c3
curl: error out if wolfSSL is not usable
...
When we explicitly declare, that we would like to have curl built with
wolfSSL support using `--with-wolfssl` configure option, then we should
make sure, that we either endup with curl having that support, or it
shouldn't be available at all, otherwise we risk, that we end up with
regressions like following:
configure:25299: checking for wolfSSL_Init in -lwolfssl
configure:25321: x86_64-openwrt-linux-musl-gcc -o conftest [snip]
In file included from target-x86_64_musl/usr/include/wolfssl/wolfcrypt/dsa.h:33,
from target-x86_64_musl/usr/include/wolfssl/wolfcrypt/asn_public.h:35,
from target-x86_64_musl/usr/include/wolfssl/ssl.h:35,
from conftest.c:47:
target-x86_64_musl/usr/include/wolfssl/wolfcrypt/integer.h:37:14: fatal error: wolfssl/wolfcrypt/sp_int.h: No such file or directory
#include <wolfssl/wolfcrypt/sp_int.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
and in the end thus produce curl without https support:
curl: (1) Protocol "https" not supported or disabled in libcurl
So fix it, by making the working wolfSSL mandatory and error out in
configure step when that's not the case:
checking for wolfSSL_Init in -lwolfssl... no
configure: error: --with-wolfssl but wolfSSL was not found or doesn't work
References: #19005 , #19547
Upstream-Status: Accepted [https://github.com/curl/curl/pull/9682 ]
Signed-off-by: Petr Štetiar <ynezz@true.cz >
(cherry picked from commit 9140f366ef )
2022-10-10 15:12:12 +00:00
..
2021-10-12 20:13:59 +02:00
2022-05-10 17:56:26 +02:00
2021-07-15 15:51:35 +08:00
2022-04-18 08:47:15 +01:00
2021-02-25 01:26:05 +08:00
2020-01-28 05:49:02 +08:00
2018-01-09 16:36:02 +01:00
2022-02-03 12:57:17 +01:00
2021-02-25 01:26:05 +08:00
2020-11-04 08:50:34 +01:00
2020-07-17 20:35:34 -07:00
2021-03-07 02:15:47 +01:00
2020-11-29 00:31:14 -08:00
2019-12-02 09:51:19 +03:00
2021-02-14 21:58:00 -08:00
2022-01-13 10:18:10 +01:00
2022-01-13 10:17:53 +01:00
2021-10-06 12:33:44 -07:00
2021-09-12 08:27:05 +02:00
2019-09-10 07:45:15 +02:00
2021-02-25 01:26:05 +08:00
2020-12-30 16:53:53 -08:00
2022-09-23 18:06:44 -07:00
2019-09-17 12:40:26 +02:00
2017-08-29 21:41:14 -07:00
2021-02-26 13:03:33 +01:00
2021-04-13 09:44:33 +02:00
2020-10-08 20:22:51 +08:00
2021-02-25 01:26:05 +08:00
2020-11-27 23:12:14 +03:00
2022-08-10 23:54:52 +02:00
2021-02-25 01:26:05 +08:00
2021-06-19 13:32:16 +02:00
2020-12-17 21:59:00 -08:00
2022-01-28 17:35:19 +01:00
2021-11-21 06:18:23 -08:00
2021-02-25 01:26:05 +08:00
2022-10-05 21:37:47 +02:00
2022-02-02 07:24:22 -08:00
2022-03-04 13:53:47 +01:00
2019-09-21 15:56:58 -07:00
2022-10-10 15:12:12 +00:00
2019-10-13 02:01:34 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2022-07-24 13:18:21 +02:00
2019-10-09 14:53:01 +00:00
2021-02-25 01:26:05 +08:00
2021-11-30 13:03:21 +01:00
2017-08-29 21:41:14 -07:00
2019-09-17 12:40:26 +02:00
2020-11-19 13:05:39 -06:00
2021-02-25 01:26:05 +08:00
2022-08-21 16:31:56 +02:00
2020-10-10 14:27:27 -07:00
2021-02-21 08:49:55 +01:00
2019-07-27 21:23:37 +08:00
2019-09-10 07:45:15 +02:00
2021-02-25 01:26:05 +08:00
2018-07-31 23:36:53 +02:00
2020-12-20 22:00:13 +01:00
2021-02-25 01:26:05 +08:00
2019-09-28 23:06:52 +02:00
2022-01-10 21:54:33 +01:00
2019-09-10 07:45:15 +02:00
2021-10-17 10:38:57 +02:00
2021-04-08 15:55:17 -05:00
2020-10-19 21:52:43 +02:00
2021-02-25 01:26:05 +08:00
2020-08-19 15:00:34 -07:00
2021-02-25 01:26:05 +08:00
2020-11-30 20:16:44 +08:00
2021-02-25 01:26:05 +08:00
2020-12-13 23:38:45 -05:00
2021-01-14 00:52:48 +08:00
2021-02-14 10:31:08 +01:00
2022-04-25 11:18:43 +02:00
2021-02-21 08:56:56 +01:00
2021-02-25 01:26:05 +08:00
2022-03-26 21:31:49 +00:00
2022-03-26 21:31:54 +00:00
2020-12-10 01:50:28 -08:00
2022-05-25 17:05:19 -07:00
2020-02-03 17:17:42 +01:00
2020-02-03 17:17:42 +01:00
2021-02-25 01:26:05 +08:00
2021-03-07 02:16:29 +01:00
2022-02-22 23:35:29 +01:00
2019-10-13 02:01:34 +08:00
2022-04-25 01:12:33 +00:00
2022-03-08 21:59:33 -08:00
2019-05-26 23:06:02 -07:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2022-01-03 18:04:10 -08:00
2021-02-25 01:26:05 +08:00
2021-01-22 16:26:55 +01:00
2021-06-03 09:09:58 +01:00
2019-12-21 12:52:41 -08:00
2021-02-03 13:33:06 -08:00
2020-01-09 13:00:00 +01:00
2021-08-11 23:36:18 +02:00
2021-02-25 01:26:05 +08:00
2021-04-06 14:51:29 -07:00
2020-12-17 21:59:42 -08:00
2022-03-02 16:31:47 -08:00
2020-10-31 18:23:28 -07:00
2022-04-08 09:04:35 +02:00
2021-02-25 01:26:05 +08:00
2022-09-19 13:43:56 +02:00
2022-09-23 00:43:29 +02:00
2021-02-25 01:26:05 +08:00
2019-09-10 07:45:15 +02:00
2021-02-25 01:26:05 +08:00
2022-09-10 16:05:51 +02:00
2020-02-11 14:05:35 +01:00
2019-11-15 14:11:02 +00:00
2020-08-27 17:30:32 -07:00
2019-09-17 12:40:26 +02:00
2022-08-12 05:49:20 +02:00
2022-10-05 21:37:47 +02:00
2021-02-25 01:26:05 +08:00
2020-09-29 14:33:25 +02:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2019-09-17 12:40:26 +02:00
2020-04-15 09:54:24 +02:00
2021-01-22 17:13:42 +01:00
2020-10-08 16:57:00 +02:00
2022-03-06 13:08:52 +01:00
2020-11-19 16:15:48 -08:00
2017-10-30 09:08:51 +01:00
2021-01-31 00:23:25 +01:00
2021-02-25 01:26:05 +08:00
2021-07-20 10:25:21 +02:00
2021-09-22 11:08:21 +02:00
2022-06-12 10:40:06 +02:00
2022-09-26 09:28:48 +00:00
2019-10-09 14:53:01 +00:00
2021-02-26 18:07:25 +01:00
2020-11-24 22:43:14 -08:00
2021-12-29 14:17:24 +01:00
2019-10-03 16:22:38 -07:00
2017-08-29 21:41:14 -07:00
2021-11-19 21:55:37 +00:00
2021-02-25 01:26:05 +08:00
2020-01-07 10:27:34 +01:00
2022-06-06 14:26:05 +01:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-02-02 22:44:07 -08:00
2021-02-02 20:28:10 +01:00
2020-08-09 00:02:48 -07:00
2021-02-25 01:26:05 +08:00
2020-11-10 02:17:15 +00:00
2022-04-02 20:59:22 +00:00
2022-06-23 23:31:11 +02:00
2021-01-17 15:05:19 -08:00
2022-07-06 13:30:33 +02:00
2021-10-27 16:32:58 +02:00
2021-05-31 17:25:22 -07:00
2020-07-17 15:11:35 -07:00
2020-07-28 19:23:12 +03:00
2021-02-25 01:26:05 +08:00
2020-01-25 17:54:04 -08:00
2021-02-25 01:26:05 +08:00
2020-09-18 02:49:10 -07:00
2019-09-10 07:45:15 +02:00
2019-09-10 07:45:15 +02:00
2019-09-10 07:45:15 +02:00
2021-04-06 14:51:29 -07:00
2019-06-30 03:15:35 +08:00
2022-02-25 23:53:10 +01:00
2020-12-17 22:02:44 -08:00
2021-05-08 01:12:38 +02:00
2022-04-18 07:46:32 +01:00
2021-02-25 01:26:05 +08:00
2020-12-19 21:54:58 -08:00
2021-02-25 01:26:05 +08:00
2022-02-25 23:31:00 +01:00
2020-09-10 17:56:10 -04:00
2021-01-07 00:53:05 +02:00
2021-11-15 20:02:06 +00:00
2022-10-05 21:37:47 +02:00
2021-04-14 19:10:34 -07:00
2021-02-25 01:26:05 +08:00
2019-06-11 07:37:07 +01:00
2020-06-23 17:09:23 +08:00
2021-02-25 01:26:05 +08:00
2021-02-15 10:45:41 +01:00
2020-11-26 15:47:07 +08:00
2020-11-19 22:12:18 +00:00
2022-04-14 18:54:40 -07:00
2022-04-14 18:54:40 -07:00
2021-02-25 01:26:05 +08:00
2021-08-22 07:53:58 -04:00
2020-02-12 12:17:12 +00:00
2019-07-25 09:35:40 +08:00
2019-09-17 12:40:26 +02:00
2021-02-25 01:26:05 +08:00
2019-03-30 17:11:50 +08:00
2019-09-17 12:40:26 +02:00
2022-05-15 17:17:58 +08:00
2022-01-31 00:05:03 +01:00
2019-09-24 20:31:46 +00:00
2019-04-29 20:12:56 +02:00
2019-09-24 20:36:09 +02:00
2022-01-05 19:26:05 +08:00
2022-01-05 19:28:02 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2019-09-10 07:45:15 +02:00
2022-08-18 19:53:29 -07:00
2021-11-01 00:12:54 -07:00
2021-11-01 00:12:54 -07:00
2020-03-27 10:57:24 +08:00
2021-02-25 01:26:05 +08:00
2019-09-10 07:45:15 +02:00
2021-09-02 06:07:05 +08:00
2020-11-05 21:06:13 +01:00
2021-07-10 20:56:50 +02:00
2021-05-19 09:51:14 +01:00
2020-07-17 15:33:53 -07:00
2021-02-25 01:26:05 +08:00
2021-04-11 10:04:39 +02:00
2022-03-25 12:12:07 +01:00
2022-02-28 11:52:05 +01:00
2020-09-20 17:19:10 -07:00
2021-12-20 17:59:02 +08:00
2021-12-20 17:59:02 +08:00
2021-12-20 17:59:02 +08:00
2020-05-09 06:06:43 +08:00
2020-09-21 17:19:59 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2020-03-11 00:50:22 +01:00
2021-10-15 21:49:22 +00:00
2020-03-21 00:33:37 +08:00
2022-01-17 21:08:50 -08:00
2021-02-26 07:37:32 +01:00
2021-07-22 14:15:53 +02:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-07-10 21:07:47 +02:00
2021-02-25 01:26:05 +08:00
2020-07-04 15:22:53 -07:00
2019-02-22 13:34:25 -08:00
2020-07-24 15:42:36 -07:00
2021-08-13 18:12:45 +02:00
2016-06-08 14:38:51 +03:00
2022-08-21 19:28:48 +02:00
2020-11-19 16:14:05 -08:00
2020-08-24 13:49:45 -07:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-02-28 13:10:45 +01:00
2022-10-05 21:37:47 +02:00
2021-08-14 07:50:51 +01:00
2021-04-22 17:55:33 +02:00
2021-03-29 00:23:34 +02:00
2020-04-29 17:52:20 -03:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2021-09-01 14:51:35 +02:00
2021-02-25 01:26:05 +08:00
2021-06-22 14:33:16 +02:00
2020-11-09 12:49:59 +02:00
2022-08-30 10:50:56 +02:00
2021-02-25 01:26:05 +08:00
2021-03-18 22:19:34 -10:00
2022-10-05 23:31:28 +02:00
2021-02-26 12:47:06 +01:00
2021-01-22 14:10:58 +01:00
2019-03-17 02:49:32 +01:00
2020-08-09 13:58:14 -10:00
2021-07-10 22:58:48 +01:00
2020-11-08 11:38:15 +01:00
2021-10-04 20:36:13 +02:00
2020-08-23 22:52:31 +02:00
2021-02-08 23:25:29 +01:00
2019-10-13 02:01:34 +08:00
2021-01-29 15:53:54 -08:00
2021-02-25 01:26:05 +08:00
2020-12-01 16:23:23 -08:00
2021-02-25 01:26:05 +08:00
2021-01-25 09:12:47 +01:00
2022-07-05 04:54:30 +02:00
2020-12-29 21:16:04 -08:00
2022-05-19 12:49:46 +02:00
2021-02-25 01:26:05 +08:00
2020-05-08 04:17:48 +03:00
2021-02-25 01:26:05 +08:00
2021-02-25 01:26:05 +08:00
2022-02-18 23:25:59 +01:00
2021-10-19 06:13:04 +00:00
2021-07-20 21:23:41 +00:00
2022-05-25 18:58:47 -07:00
2019-12-18 21:24:45 +01:00
2021-02-25 01:26:05 +08:00
2019-03-30 17:11:50 +08:00
2020-12-01 16:25:32 -08:00
2020-02-12 16:05:11 +08:00
2022-02-02 11:10:19 +01:00
2021-01-26 17:06:37 -08:00
2022-10-05 21:37:47 +02:00
2020-11-30 10:05:27 +01:00
2021-09-08 07:30:12 -07:00
2021-04-07 08:33:45 +02:00
2021-02-25 01:26:05 +08:00
2022-07-18 19:44:06 +02:00
2021-02-25 01:26:05 +08:00
2022-03-08 22:02:05 -08:00
2022-03-30 19:39:07 -07:00
2021-05-16 14:39:39 +02:00