]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_sd_cspdl/lib/SDCSPSession.cpp
Security-57740.51.3.tar.gz
[apple/security.git] / OSX / libsecurity_sd_cspdl / lib / SDCSPSession.cpp
index 8a29dba73231208d3b81ec728017e385115d88df..b72e2e528cede16e4a1601d66f1ceb45d6a64480 100644 (file)
@@ -337,8 +337,8 @@ SDCSPSession::ObtainPrivateKeyFromPublicKey(const CssmKey &PublicKey,
 
 void
 SDCSPSession::QueryKeySizeInBits(CSSM_CC_HANDLE CCHandle,
-                                                                const Context &Context,
-                                                                const CssmKey &Key,
+                                                                const Context *Context,
+                                                                const CssmKey *Key,
                                                                 CSSM_KEY_SIZE &KeySize)
 {
        unimplemented();
@@ -361,7 +361,7 @@ SDCSPSession::FreeKey(const AccessCredentials *accessCred,
 
                // Find the key in the map.  Tell tell the key to free itself
                // (when the auto_ptr deletes the key it removes itself from the map). 
-           secdebug("freeKey", "CSPDL FreeKey");
+           secinfo("freeKey", "CSPDL FreeKey");
                auto_ptr<SDKey> ssKey(&mSDCSPDLSession.find<SDKey>(ioKey));
                ssKey->free(accessCred, ioKey, deleteKey);
        }