X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsignature%2FSAML1ResponseTest.h;h=f4a5bb1d055dcd5cdd6c7b86c5cea0655b2baa3d;hp=a44a2619707593e057b5666a79895e350a5d1bde;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/samltest/signature/SAML1ResponseTest.h b/samltest/signature/SAML1ResponseTest.h index a44a261..f4a5bb1 100644 --- a/samltest/signature/SAML1ResponseTest.h +++ b/samltest/signature/SAML1ResponseTest.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 Internet2 + * Copyright 2001-2010 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,11 +68,11 @@ public: cc.setUsage(Credential::SIGNING_CREDENTIAL); Locker locker(m_resolver); const Credential* cred = m_resolver->resolve(&cc); - TSM_ASSERT("Retrieved credential was null", cred!=NULL); + TSM_ASSERT("Retrieved credential was null", cred!=nullptr); - DOMElement* rootElement = NULL; + DOMElement* rootElement = nullptr; try { - rootElement=assertion->marshall((DOMDocument*)NULL,&sigs,cred); + rootElement=assertion->marshall((DOMDocument*)nullptr,&sigs,cred); } catch (XMLToolingException& e) { TS_TRACE(e.what()); @@ -95,9 +95,9 @@ public: // Sign response while marshalling. sigs.clear(); sigs.push_back(response->getSignature()); - rootElement = NULL; + rootElement = nullptr; try { - rootElement=response->marshall((DOMDocument*)NULL,&sigs,cred); + rootElement=response->marshall((DOMDocument*)nullptr,&sigs,cred); } catch (XMLToolingException& e) { TS_TRACE(e.what());