Removed unnecessary params

This commit is contained in:
Kornel Lesiński committed 2014-07-05 01:04:49 +01:00
1 parent b001a3e52e
commit f2cd127729
1 file changed
+1 -2
+1 -2
View File
@@ -45,10 +45,9 @@
SecExternalFormat format = kSecFormatOpenSSL;
SecExternalItemType itemType = kSecItemTypePublicKey;
SecItemImportExportKeyParameters params = {};
CFArrayRef items = NULL;
OSStatus status = SecItemImport((__bridge CFDataRef)data, NULL, &format, &itemType, 0, &params, NULL, &items);
OSStatus status = SecItemImport((__bridge CFDataRef)data, NULL, &format, &itemType, 0, NULL, NULL, &items);
if (status != errSecSuccess || !items) {
if (items) {
CFRelease(items);