X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp-resolver.git;a=blobdiff_plain;f=shibresolver%2Fresolver.cpp;h=a328f1d217d0f3bea2fc26214b620d28510d033e;hp=7fefb4417500f7023bcb2cca9c7dd8ad68f8d63e;hb=5a0fc1ebe1822cf26614f503577696cd81afb3d9;hpb=00c32369c8efd6f50ef10d4fa27130baa3d33847 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 )