]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_keychain/lib/SecPassword.cpp
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_keychain / lib / SecPassword.cpp
index 6ac71ed4a4cd47b4857119da4dcad84a2156914a..f56197ae3bbfbb3b61cf2657d5d91707416a0ec5 100644 (file)
 
 #include <os/activity.h>
 
-#if 0
-static CFTypeID
-SecPasswordGetTypeID(void)
-{
-       BEGIN_SECAPI
-    
-       return gTypes().PasswordImpl.typeID;
-    
-       END_SECAPI1(_kCFRuntimeNotATypeID)
-}
-#endif
+#include "LegacyAPICounts.h"
 
 OSStatus
 SecGenericPasswordCreate(SecKeychainAttributeList *searchAttrList, SecKeychainAttributeList *itemAttrList, SecPasswordRef *itemRef)
@@ -254,7 +244,7 @@ SecPasswordAction(SecPasswordRef itemRef, CFTypeRef message, UInt32 flags, UInt3
         
     }
 
-    // If we're still here the use gave us his password, store it if keychain is in use
+    // If we're still here the user gave us their password, store it if keychain is in use
     if (passwordRef->useKeychain())
     {
         if (passwordRef->rememberInKeychain()) {