X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fbinding%2Fimpl%2FArtifactMap.cpp;h=641acfacac198645f43cbdf9914f0c6d6e0c0454;hp=6dd3fbba2d2cd671c8a1ed39270bbca1de533659;hb=c6e08d702143f0337cd592d1599bd78d50c38873;hpb=ecc9f2def78a53386e33f330147b80f3316a4b35 diff --git a/saml/binding/impl/ArtifactMap.cpp b/saml/binding/impl/ArtifactMap.cpp index 6dd3fbb..641acfa 100644 --- a/saml/binding/impl/ArtifactMap.cpp +++ b/saml/binding/impl/ArtifactMap.cpp @@ -106,7 +106,7 @@ void ArtifactMappings::removeMapping(const map::iterator& i) void ArtifactMappings::storeContent(XMLObject* content, const SAMLArtifact* artifact, const char* relyingParty, int TTL) { - Lock wrapper(m_lock.get()); + Lock wrapper(m_lock); // Garbage collect any expired artifacts. time_t now = time(nullptr); @@ -129,7 +129,7 @@ void ArtifactMappings::storeContent(XMLObject* content, const SAMLArtifact* arti XMLObject* ArtifactMappings::retrieveContent(const SAMLArtifact* artifact, const char* relyingParty) { Category& log=Category::getInstance(SAML_LOGCAT".ArtifactMap"); - Lock wrapper(m_lock.get()); + Lock wrapper(m_lock); map::iterator i = m_artMap.find(SAMLArtifact::toHex(artifact->getMessageHandle())); if (i == m_artMap.end())