Skip to content

Commit

Permalink
Merge pull request #80 from IBM-Swift/swift51
Browse files Browse the repository at this point in the history
fix: Resolve compilation warning with Swift 5.1
  • Loading branch information
billabt authored Jul 30, 2019
2 parents 0a2ee8d + ddaa146 commit 11b6d61
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 11b6d61

Please sign in to comment.