Commit 953f592
committed
fix(tls): install IP literals via the WolfSSL verify params directly
wolfSSL_check_ip_address reports success even on builds that compiled
out enforcement, so its return check could never fail closed. Setting
the literal through wolfSSL_get0_param and
wolfSSL_X509_VERIFY_PARAM_set1_ip_asc installs it on the exact path
the certificate check consults, returns a meaningful failure, and
binds symbols exported only by OPENSSL_EXTRA builds — running against
a WolfSSL downgraded below the build-time feature set now fails at
load instead of silently skipping the name check.1 parent 1f2c299 commit 953f592
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1492 | 1492 | | |
1493 | 1493 | | |
1494 | 1494 | | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
| 1495 | + | |
1498 | 1496 | | |
1499 | | - | |
1500 | | - | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1501 | 1507 | | |
| 1508 | + | |
| 1509 | + | |
1502 | 1510 | | |
1503 | 1511 | | |
1504 | 1512 | | |
1505 | | - | |
| 1513 | + | |
1506 | 1514 | | |
1507 | 1515 | | |
1508 | 1516 | | |
| |||
0 commit comments