Skip to content

Commit

Permalink
Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Aug 1, 2017
1 parent a52604a commit 260170f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_appcast/DSASignature.swift
Expand Up @@ -22,7 +22,7 @@ func loadPrivateKey(privateKeyPath: URL) throws -> SecKey {
throw makeError(code: .signatureError, "Not an OpensSSL private key \(format) \(type)");
}

return (cfitems as! NSArray)[0] as! SecKey;
return (cfitems! as NSArray)[0] as! SecKey;
}

func dsaSignature(path: URL, privateKey: SecKey) throws -> String {
Expand Down

0 comments on commit 260170f

Please sign in to comment.