projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f928d7b
)
https://issues.shibboleth.net/jira/browse/SSPCPP-288
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 1 Apr 2010 21:51:28 +0000
(21:51 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 1 Apr 2010 21:51:28 +0000
(21:51 +0000)
shibsp/handler/impl/MetadataGenerator.cpp
patch
|
blob
|
history
diff --git
a/shibsp/handler/impl/MetadataGenerator.cpp
b/shibsp/handler/impl/MetadataGenerator.cpp
index
de795a7
..
322b7e3
100644
(file)
--- a/
shibsp/handler/impl/MetadataGenerator.cpp
+++ b/
shibsp/handler/impl/MetadataGenerator.cpp
@@
-279,11
+279,9
@@
pair<bool,long> MetadataGenerator::processMessage(
if (cache.first) {
entity->setCacheDuration(cache.second);
}
if (cache.first) {
entity->setCacheDuration(cache.second);
}
- else {
- cache = getUnsignedInt("validUntil");
- if (cache.first)
- entity->setValidUntil(time(NULL) + cache.second);
- }
+ cache = getUnsignedInt("validUntil");
+ if (cache.first)
+ entity->setValidUntil(time(NULL) + cache.second);
entity->setEntityID(relyingParty->getXMLString("entityID").second);
SPSSODescriptor* role;
entity->setEntityID(relyingParty->getXMLString("entityID").second);
SPSSODescriptor* role;