Petr Štetiar 9c7d8a7542 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-23 16:46:15 +00:00
..
2021-06-15 17:58:07 +08:00
2022-01-10 16:57:52 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2020-03-24 18:24:26 +08:00
2021-07-19 12:56:38 +00:00
2019-11-23 09:58:26 -08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2021-07-19 12:56:38 +00:00
2021-08-06 09:27:51 +08:00
2020-07-02 23:30:56 +08:00
2021-06-15 17:58:07 +08:00