X-Git-Url: https://git.saurik.com/apple/securityd.git/blobdiff_plain/f7aa9f666a1c7ab343b4ce8f1677ea253c4e126e..4cd1cad0dea00daa03e1b54fdf2797a02373ad5b:/src/localkey.cpp diff --git a/src/localkey.cpp b/src/localkey.cpp index 37e8c7b..c8cb9fe 100644 --- a/src/localkey.cpp +++ b/src/localkey.cpp @@ -39,7 +39,7 @@ LocalKey::LocalKey(Database &db, const CssmKey &newKey, CSSM_KEYATTR_FLAGS moreA { mValidKey = true; setup(newKey, moreAttributes); - secdebug("SSkey", "%p (handle 0x%lx) created from key alg=%u use=0x%x attr=0x%x db=%p", + secdebug("SSkey", "%p (handle %#x) created from key alg=%u use=0x%x attr=0x%x db=%p", this, handle(), mKey.header().algorithm(), mKey.header().usage(), mAttributes, &db); } @@ -122,7 +122,7 @@ CSSM_KEYATTR_FLAGS LocalKey::attributes() // // Return a key's handle and header in external form // -void LocalKey::returnKey(Handle &h, CssmKey::Header &hdr) +void LocalKey::returnKey(U32HandleObject::Handle &h, CssmKey::Header &hdr) { StLock _(*this);