// Construct a UnlockReferralItem from attributes and initial content
//
UnlockReferralItem::UnlockReferralItem() :
- ItemImpl(CSSM_DL_DB_RECORD_UNLOCK_REFERRAL,
+ ItemImpl((SecItemClass) CSSM_DL_DB_RECORD_UNLOCK_REFERRAL,
reinterpret_cast<SecKeychainAttributeList *>(NULL),
UInt32(0/*size*/),
NULL/*data*/)
{
- secdebug("referral", "create %p", this);
+ secinfo("referral", "create %p", this);
}
//
UnlockReferralItem::~UnlockReferralItem()
{
- secdebug("referral", "destroy %p", this);
+ secinfo("referral", "destroy %p", this);
}
try
{
mUniqueId = db->insert(recordType, mDbAttributes.get(), mData.get());
- secdebug("usertrust", "%p inserted", this);
+ secinfo("usertrust", "%p inserted", this);
}
catch (const CssmError &e)
{
throw;
// Create the referral relation and try again.
- secdebug("usertrust", "adding schema relation for user trusts");
+ secinfo("usertrust", "adding schema relation for user trusts");
#if 0
db->createRelation(CSSM_DL_DB_RECORD_UNLOCK_REFERRAL,
"CSSM_DL_DB_RECORD_UNLOCK_REFERRAL",
//keychain->resetSchema();
mUniqueId = db->insert(recordType, mDbAttributes.get(), mData.get());
- secdebug("usertrust", "%p inserted now", this);
+ secinfo("usertrust", "%p inserted now", this);
}
mPrimaryKey = keychain->makePrimaryKey(recordType, mUniqueId);