Commit c269f57
authored
avoid rejecting repositories too early (#34)
The control flow here incorrectly diverges if a candidate trust root
fails to verify a repository and a previous candidate already failed.
(In other words: it works with two trust roots, but potentially not with
three, depending on ordering.) The conditional should have been inside
the expression, not the match arm guard; the conditional is unimportant
and has been removed altogether.1 parent 3923a43 commit c269f57
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
634 | 639 | | |
635 | 640 | | |
636 | 641 | | |
| |||
0 commit comments