Fix dumb mistake.

This commit is contained in:
Max Goedjen
2020-03-17 23:28:51 -07:00
parent 32f0ed88f4
commit 5a2d3ecc2e
2 changed files with 7 additions and 3 deletions

View File

@@ -16,6 +16,10 @@ extension SigningRequestProvenance {
chain.last!
}
public var intact: Bool {
return chain.reduce(true) { $0 && $1.validSignature }
}
}
extension SigningRequestProvenance {
@@ -32,7 +36,7 @@ extension SigningRequestProvenance {
self.pid = pid
self.name = name
self.path = path
self.validSignature = true
self.validSignature = validSignature
self.parentPID = parentPID
}