From 5a0fc1ebe1822cf26614f503577696cd81afb3d9 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Sat, 23 Oct 2010 22:46:37 +0000 Subject: [PATCH] Avoid use of nullptr. --- shibresolver/resolver.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shibresolver/resolver.cpp b/shibresolver/resolver.cpp index 7fefb44..a328f1d 100644 --- a/shibresolver/resolver.cpp +++ b/shibresolver/resolver.cpp @@ -278,7 +278,7 @@ void RemotedResolver::resolve( { #ifndef SHIBSP_LITE Category& log = Category::getInstance(SHIBRESOLVER_LOGCAT); - pair entity = pair(nullptr,nullptr); + pair entity = pair(NULL,NULL); MetadataProvider* m = app.getMetadataProvider(); Locker locker(m); if (issuer && *issuer) { @@ -303,8 +303,8 @@ void RemotedResolver::resolve( if (mprefix.first) { log.debug("extracting metadata-derived attributes..."); try { - // We pass nullptr for "issuer" because the IdP isn't the one asserting metadata-based attributes. - extractor->extractAttributes(app, nullptr, *entity.second, resolvedAttrs); + // We pass NULL for "issuer" because the IdP isn't the one asserting metadata-based attributes. + extractor->extractAttributes(app, NULL, *entity.second, resolvedAttrs); for (vector::iterator a = resolvedAttrs.begin(); a != resolvedAttrs.end(); ++a) { vector& ids = (*a)->getAliases(); for (vector::iterator id = ids.begin(); id != ids.end(); ++id) @@ -363,9 +363,9 @@ void RemotedResolver::resolve( app, entity.first, samlconstants::SAML20P_NS, - nullptr, - nullptr, - nullptr, + NULL, + NULL, + NULL, &assertions, &inputs ) -- 2.1.4