script0001   [plain text]


//
// script0001
//
//		KCCreateKeychain
//		KCGetDefaultKeychain
//
// Create a keychain & release KCRef twice
// 
3 KCMakeKCRefFromFSSpec
   Input Arguments : 1
      KeychainFile : test0001.001
   Results : 2
      OSStatus 0
      KeychainIndex : 0
14 KCCreateKeychain
   Input Arguments : 2
      KeychainIndex : 0
      Password : Apple
   Results : 2
      OSStatus 0
      KeychainIndex : 1
3 KCMakeKCRefFromFSSpec
   Input Arguments : 1
      KeychainFile : test0001.002
   Results : 2
      OSStatus 0
      KeychainIndex : 2
14 KCCreateKeychain
   Input Arguments : 2
      KeychainIndex : 2
      Password : Apple
   Results : 2
      OSStatus 0
      KeychainIndex : 3
3 KCMakeKCRefFromFSSpec
   Input Arguments : 1
      KeychainFile : test0001.001
   Results : 2
      OSStatus 0
      KeychainIndex : 4
14 KCCreateKeychain
   Input Arguments : 2
      KeychainIndex : 4
      Password : Apple
   Results : 2
     OSStatus -25296
      KeychainIndex : 5
//										First keychain is the default keychain
12 KCGetDefaultKeychain
   Input Arguments : 0
   Results : 2
     OSStatus 0
     KeychainIndex : 0
19 KCGetKeychainName
   Input Arguments : 1
     KeychainIndex : 0
   Results : 1
     OSStatus 0
     KeychainName : test0001.001
6 KCReleaseKeychain
   Input Arguments : 2
      KeychainIndex : 0
   Results : 1
      OSStatus 0
6 KCReleaseKeychain
   Input Arguments : 2
      KeychainIndex : 2
   Results : 1
      OSStatus 0