Petr Štetiar b9251e3b40 wolfssl: fix API breakage of SSL_get_verify_result
Backport fix for API breakage of SSL_get_verify_result() introduced in
v5.1.1-stable.  In v4.8.1-stable SSL_get_verify_result() used to return
X509_V_OK when used on LE powered sites or other sites utilizing
relaxed/alternative cert chain validation feature. After an update to
v5.1.1-stable that API calls started returning X509_V_ERR_INVALID_CA
error and thus rendered all such connection attempts imposible:

 $ docker run -it openwrt/rootfs:x86_64-21.02.2 sh -c "wget https://letsencrypt.org"
 Downloading 'https://letsencrypt.org'
 Connecting to 18.159.128.50:443
 Connection error: Invalid SSL certificate

Fixes: #9283
References: https://github.com/wolfSSL/wolfssl/issues/4879
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-02-22 20:27:15 +01:00
..
2021-02-14 19:38:15 +01:00
2020-02-22 16:34:57 +01:00
2022-02-01 21:25:02 +01:00
2021-02-14 19:38:15 +01:00
2019-01-24 10:39:30 +01:00
2021-12-01 00:39:26 +02:00
2019-11-01 21:19:40 +01:00
2021-10-31 13:01:24 +00:00
2021-11-20 17:48:49 +00:00
2021-12-21 21:37:05 +02:00
2021-10-19 08:11:38 -10:00
2021-12-21 21:36:55 +02:00
2021-11-20 21:08:24 +01:00
2019-02-26 23:20:04 +01:00
2021-02-24 14:08:29 +01:00