11.3 Compatibility

This commit is contained in:
Max Goedjen 2020-03-14 19:40:03 -07:00
parent bbc29ed9e0
commit 5480799450
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -57,7 +57,9 @@ extension Agent {
extension Agent {
func identities() throws -> Data {
let secrets = storeList.stores.flatMap(\.secrets)
// TODO: RESTORE ONCE XCODE 11.4 IS GM
let secrets = storeList.stores.flatMap { $0.secrets }
// let secrets = storeList.stores.flatMap(\.secrets)
var count = UInt32(secrets.count).bigEndian
let countData = Data(bytes: &count, count: UInt32.bitWidth/8)
var keyData = Data()