View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002807 | Buildsystem | [All Projects] General | public | 2021-03-21 06:47 | 2021-03-21 19:53 | ||||||||
Reporter | PICCORO Lenz McKAY | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Summary | 0002807: error: 'X509_V_ERR_HOSTNAME_MISMATCH' undeclared | ||||||||||||
Description | i try to build in a embebed system and got this error using curl 7.38 [ 168s] content/fetchers/curl.c: In function 'fetch_curl_store_certs_in_cache': [ 168s] content/fetchers/curl.c:648:8: error: 'X509_V_ERR_HOSTNAME_MISMATCH' undeclared (first use in this function) | ||||||||||||
Steps To Reproduce | try to build the webbrowser | ||||||||||||
Tags | No tags attached. | ||||||||||||
Fixed in CI build # | |||||||||||||
Reported in CI build # | |||||||||||||
Attached Files |
|
Notes | |
PICCORO Lenz McKAY (reporter) 2021-03-21 06:55 |
wheantime i just removed the case in curl.c to able to build iwth older curl libs: --- netsurf-3.10.orig/netsurf/content/fetchers/curl.c +++ netsurf-3.10/netsurf/content/fetchers/curl.c @@ -645,10 +645,6 @@ fetch_curl_store_certs_in_cache(struct c chain.certs[depth].err = SSL_CERT_ERR_REVOKED; break; - case X509_V_ERR_HOSTNAME_MISMATCH: - chain.certs[depth].err = SSL_CERT_ERR_HOSTNAME_MISMATCH; - break; - default: chain.certs[depth].err = SSL_CERT_ERR_UNKNOWN; break; |
PICCORO Lenz McKAY (reporter) 2021-03-21 19:52 |
fix and patch at https://bugs.netsurf-browser.org/mantis/view.php?id=2807#c2322 in issue 0002808 |
PICCORO Lenz McKAY (reporter) 2021-03-21 19:53 |
patch added, this fixed 0002807 and 0002807 |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-21 06:47 | PICCORO Lenz McKAY | New Issue | |
2021-03-21 06:55 | PICCORO Lenz McKAY | Note Added: 0002322 | |
2021-03-21 19:52 | PICCORO Lenz McKAY | Note Added: 0002324 | |
2021-03-21 19:53 | PICCORO Lenz McKAY | File Added: openssl-compat.patch | |
2021-03-21 19:53 | PICCORO Lenz McKAY | Note Added: 0002325 |