projects
/
shibboleth
/
cpp-sp-resolver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix NULL ptr compatibility issue.
[shibboleth/cpp-sp-resolver.git]
/
shibresolver
/
resolver.cpp
diff --git
a/shibresolver/resolver.cpp
b/shibresolver/resolver.cpp
index
a328f1d
..
8d90e64
100644
(file)
--- a/
shibresolver/resolver.cpp
+++ b/
shibresolver/resolver.cpp
@@
-278,7
+278,7
@@
void RemotedResolver::resolve(
{
#ifndef SHIBSP_LITE
Category& log = Category::getInstance(SHIBRESOLVER_LOGCAT);
{
#ifndef SHIBSP_LITE
Category& log = Category::getInstance(SHIBRESOLVER_LOGCAT);
- pair<const EntityDescriptor*,const RoleDescriptor*> entity =
pair<const EntityDescriptor*,const RoleDescriptor*>(NULL,
NULL);
+ pair<const EntityDescriptor*,const RoleDescriptor*> entity =
make_pair((EntityDescriptor*)NULL, (RoleDescriptor*)
NULL);
MetadataProvider* m = app.getMetadataProvider();
Locker locker(m);
if (issuer && *issuer) {
MetadataProvider* m = app.getMetadataProvider();
Locker locker(m);
if (issuer && *issuer) {