Petr Štetiar b99d7aecc8 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>
(cherry picked from commit b9251e3b407592f3114e739231088c3d27663c4c)
2022-02-22 20:29:39 +01:00
..
2021-02-14 19:38:15 +01:00
2020-02-22 16:34:57 +01:00
2021-02-14 19:38:15 +01:00
2019-01-24 10:39:30 +01:00
2021-02-14 19:38:15 +01:00
2019-11-01 21:19:40 +01:00
2021-03-15 21:53:15 +00:00
2021-03-29 22:26:27 +02:00
2021-10-21 11:04:39 -10:00
2020-12-22 18:59:10 +01:00
2022-01-03 22:09:45 +01:00
2020-12-22 18:59:10 +01:00
2019-02-26 23:20:04 +01:00
2021-02-14 19:38:15 +01:00
2021-02-25 14:41:40 +01:00