Skip to content

Commit

Permalink
Resolve compilation warning with Swift 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 committed Jul 25, 2019
1 parent 0a2ee8d commit ddaa146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SSLService/SSLService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ public class SSLService: SSLServiceDelegate {

// -- Cert chain...
var certs = [secIdentity]
var ccerts: Array<SecCertificate> = (dictionary as AnyObject).value(forKey: kSecImportItemCertChain as String) as! Array<SecCertificate>
let ccerts: Array<SecCertificate> = (dictionary as AnyObject).value(forKey: kSecImportItemCertChain as String) as! Array<SecCertificate>
for i in 1 ..< ccerts.count {

certs += [ccerts[i] as AnyObject]
Expand Down

0 comments on commit ddaa146

Please sign in to comment.