Commit dcefc6c
Fix cert lookup fallback when findCertificateBySubjectKeyID returns NotFoundError
Previously, any error from findCertificateBySubjectKeyID would cause an
immediate return, preventing the issuer-based fallback from running.
Now only non-NotFoundError errors (or NotFoundError when issuer lookup
is unavailable) are returned early.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c899aeb commit dcefc6c
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
| |||
453 | 451 | | |
454 | 452 | | |
455 | 453 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
461 | 457 | | |
462 | 458 | | |
463 | 459 | | |
| |||
0 commit comments