[cpp-sp] branch main updated: Null out removed method.

Scott Cantor cantor.2 at osu.edu
Wed Nov 6 21:59:24 UTC 2024


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=6cac59970704aa871ce8bc45c9eb40af3416af37

The following commit(s) were added to refs/heads/main by this push:
     new 6cac5997 Null out removed method.
6cac5997 is described below

commit 6cac59970704aa871ce8bc45c9eb40af3416af37
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Nov 6 16:59:20 2024 -0500

    Null out removed method.
---
 iis7_shib/register.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iis7_shib/register.cpp b/iis7_shib/register.cpp
index 09af7e72..5dc54191 100644
--- a/iis7_shib/register.cpp
+++ b/iis7_shib/register.cpp
@@ -176,11 +176,11 @@ RegisterModule(
             else
             	g_bSafeHeaderNames = flag.first && flag.second;
 
-            const string prefix(XMLHelper::getAttrString(props->getElement(), "/Shibboleth.sso", handlerPrefix));
+            const string prefix(XMLHelper::getAttrString(nullptr, "/Shibboleth.sso", handlerPrefix));
             std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
             g_handlerPrefix = converter.from_bytes(prefix);
 
-            const DOMElement* site = XMLHelper::getFirstChildElement(props->getElement(), Site);
+            const DOMElement* site = XMLHelper::getFirstChildElement(nullptr, Site);
             while (site) {
                 string id(XMLHelper::getAttrString(site, "", id));
                 if (!id.empty())

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


More information about the commits mailing list