This commit is contained in:
Kornel committed 2017-08-01 15:54:52 +01:00
1 parent a52604a264
commit 260170f372
1 file changed
+1 -1
+1 -1
View File
@@ -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 {