mirror of
https://github.com/apple/swift-certificates
synced 2026-11-22 04:20:39 +00:00
Fix missing index check
This commit is contained in:
1 parent
4bcf463188
commit
88ed33064a
1 file changed
+2
@@ -30,6 +30,8 @@ public struct PolicySet: VerifierPolicy {
|
||||
case .failsToMeetPolicy(reason: let reason):
|
||||
return .failsToMeetPolicy(reason: reason)
|
||||
}
|
||||
|
||||
self.policies.formIndex(after: &policyIndex)
|
||||
}
|
||||
|
||||
return .meetsPolicy
|
||||
|
||||
Reference in new issue
Block a user