[cpp-sp] branch main updated: Sigh, reversed boolean check.

Codeberg noreply at shibboleth.net
Thu Dec 4 18:19:52 UTC 2025


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/062d9514be5627c52ae3885ea224b874459f2f6d

The following commit(s) were added to refs/heads/main by this push:
     new 062d9514 Sigh, reversed boolean check.
062d9514 is described below

commit 062d9514be5627c52ae3885ea224b874459f2f6d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 4 13:19:40 2025 -0500

    Sigh, reversed boolean check.
---
 shibsp/session/impl/AbstractSessionCache.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/session/impl/AbstractSessionCache.cpp b/shibsp/session/impl/AbstractSessionCache.cpp
index 4f30e41b..a152c8cd 100644
--- a/shibsp/session/impl/AbstractSessionCache.cpp
+++ b/shibsp/session/impl/AbstractSessionCache.cpp
@@ -113,7 +113,7 @@ bool AbstractSessionCache::isSessionDataValid(DDF& sessionData)
     // Must have a non-empty string "app_id" member
     // Must have a positive longinteger "ts" member
 
-    if (sessionData.isstruct()) {
+    if (!sessionData.isstruct()) {
         return false;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list