]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_keychain/regressions/kc-item-helpers.h
Security-58286.1.32.tar.gz
[apple/security.git] / OSX / libsecurity_keychain / regressions / kc-item-helpers.h
index 1532e72eb2d5daea67dd888db1e9318bb78586e8..906f35567ac6dbad6ecac554625bed3d0211a60b 100644 (file)
@@ -56,7 +56,7 @@ static CFMutableDictionaryRef addLabel(CFMutableDictionaryRef query, CFStringRef
     return query;
 }
 
-static CFMutableDictionaryRef makeBaseItemDictionary(CFStringRef itemclass, CFStringRef service) {
+static CFMutableDictionaryRef createBaseItemDictionary(CFStringRef itemclass, CFStringRef service) {
     CFMutableDictionaryRef query = makeBaseDictionary(itemclass);
 
     if(CFEqual(itemclass, kSecClassInternetPassword)) {
@@ -70,7 +70,7 @@ static CFMutableDictionaryRef makeBaseItemDictionary(CFStringRef itemclass, CFSt
 }
 
 static CFMutableDictionaryRef createQueryItemDictionaryWithService(SecKeychainRef kc, CFStringRef itemclass, CFStringRef service) {
-    return convertToQuery(makeBaseItemDictionary(itemclass, service), kc);
+    return convertToQuery(createBaseItemDictionary(itemclass, service), kc);
 }
 static CFMutableDictionaryRef createQueryItemDictionary(SecKeychainRef kc, CFStringRef itemclass) {
     return createQueryItemDictionaryWithService(kc, itemclass, NULL);
@@ -90,7 +90,7 @@ static CFMutableDictionaryRef createQueryCustomItemDictionary(SecKeychainRef kc,
 }
 
 static CFMutableDictionaryRef createAddCustomItemDictionaryWithService(SecKeychainRef kc, CFStringRef itemclass, CFStringRef label, CFStringRef account, CFStringRef service) {
-    CFMutableDictionaryRef query = makeBaseItemDictionary(itemclass, service);
+    CFMutableDictionaryRef query = createBaseItemDictionary(itemclass, service);
 
     CFDictionaryAddValue(query, kSecUseKeychain, kc);
     CFDictionarySetValue(query, kSecAttrAccount, account);