[cpp-sp] branch main updated: Forgot new method on Dummy classes.

Scott Cantor cantor.2 at osu.edu
Fri Oct 17 22:58:20 UTC 2025


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

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

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=c772b1c0b1fc952f48ff510734369cce7ece1550

The following commit(s) were added to refs/heads/main by this push:
     new c772b1c0 Forgot new method on Dummy classes.
c772b1c0 is described below

commit c772b1c0b1fc952f48ff510734369cce7ece1550
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Oct 17 18:58:13 2025 -0400

    Forgot new method on Dummy classes.
---
 shibsp/handler/impl/StatusHandler.cpp | 3 +++
 tests/DummyRequest.h                  | 1 +
 2 files changed, 4 insertions(+)

diff --git a/shibsp/handler/impl/StatusHandler.cpp b/shibsp/handler/impl/StatusHandler.cpp
index 3985a10b..f14ec218 100644
--- a/shibsp/handler/impl/StatusHandler.cpp
+++ b/shibsp/handler/impl/StatusHandler.cpp
@@ -142,6 +142,9 @@ namespace {
         string getRemoteAddr() const {
             return "";
         }
+        string getLocalAddr() const {
+            return "";
+        }
         string getRemoteUser() const {
             return "";
         }
diff --git a/tests/DummyRequest.h b/tests/DummyRequest.h
index 219983b2..334d4983 100644
--- a/tests/DummyRequest.h
+++ b/tests/DummyRequest.h
@@ -45,6 +45,7 @@ namespace shibsp {
         }
         std::string getRemoteUser() const { return m_user; }
         std::string getRemoteAddr() const { return m_addr; }
+        std::string getLocalAddr() const { return ""; }
         std::string getAuthType() const { return ""; }
         long sendResponse(std::istream&, long status) { return status; }
         void clearHeader(const char* name) {}

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


More information about the commits mailing list