X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsignature%2FSAML2AssertionTest.h;h=589ed7aa8369f017b419fa3aee50664792de61e8;hp=38fec27db63b10e9f962063d09f61f440e8e132a;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=9424cbad0360d512935936e6410fca5e32eb29bc diff --git a/samltest/signature/SAML2AssertionTest.h b/samltest/signature/SAML2AssertionTest.h index 38fec27..589ed7a 100644 --- a/samltest/signature/SAML2AssertionTest.h +++ b/samltest/signature/SAML2AssertionTest.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. @@ -73,11 +73,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());