Repository navigation
Commit 8417eb1
committed
fixup! tls: reject chains containing blocked public keys
Use only X509_STORE_CTX APIs that BoringSSL also provides. BoringSSL
lacks X509_STORE_CTX_set_error_depth, X509_STORE_CTX_set_current_cert
and X509_STORE_CTX_get_verify_cb, which broke the aarch64 shared
BoringSSL build. Fetch the per-certificate callback from the SSL
object instead and skip the two setters on BoringSSL, where Node.js'
own callbacks never read them.
Assisted-by: Claude
Signed-off-by: Ulises Gascon <[email protected]>1 parent 71af0a9 commit 8417eb1
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1578 | 1578 | | |
1579 | 1579 | | |
1580 | 1580 | | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
1581 | 1588 | | |
1582 | 1589 | | |
1583 | | - | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1584 | 1596 | | |
1585 | 1597 | | |
1586 | 1598 | | |
| |||
0 commit comments