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:
419620b
)
Fix for Solaris.
1.3b
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 8 Nov 2005 23:26:51 +0000
(23:26 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 8 Nov 2005 23:26:51 +0000
(23:26 +0000)
shib-target/shib-ccache.cpp
patch
|
blob
|
history
diff --git
a/shib-target/shib-ccache.cpp
b/shib-target/shib-ccache.cpp
index
1350a1f
..
4251d1a
100644
(file)
--- a/
shib-target/shib-ccache.cpp
+++ b/
shib-target/shib-ccache.cpp
@@
-568,7
+568,7
@@
bool InternalCCacheEntry::responseValid()
// If we didn't find any assertions with times, then see if we're
// older than the default response lifetime.
if (!count) {
- if (abs(
now - m_responseCreated
) > m_cache->m_defaultLifetime) {
+ if (abs(
(int)(now - m_responseCreated)
) > m_cache->m_defaultLifetime) {
m_cache->log->debug("response is beyond default life, so it's invalid");
return false;
}