[cpp-sp] branch main updated: Fix new deprecations.
Scott Cantor
cantor.2 at osu.edu
Tue Jul 29 20:17:38 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=b5e62b961c3d28c5d454e31efeb4e64083c91d6c
The following commit(s) were added to refs/heads/main by this push:
new b5e62b96 Fix new deprecations.
b5e62b96 is described below
commit b5e62b961c3d28c5d454e31efeb4e64083c91d6c
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jul 29 16:17:34 2025 -0400
Fix new deprecations.
---
apache/mod_shib_24.cpp | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/apache/mod_shib_24.cpp b/apache/mod_shib_24.cpp
index 2bfa3885..3a262178 100644
--- a/apache/mod_shib_24.cpp
+++ b/apache/mod_shib_24.cpp
@@ -1308,15 +1308,14 @@ extern "C" const char* shib_table_unset(cmd_parms* parms, shib_dir_config* dc, c
extern "C" const char* shib_deprecated_table_set(cmd_parms* cmd, shib_dir_config* dc, const char* arg1)
{
-
- if (!strcasecmp(arg1, "ShibUseHeaders")) {
+ if (!strcasecmp(cmd->cmd->name, "ShibUseHeaders")) {
ap_log_error(APLOG_MARK, APLOG_WARNING|APLOG_NOERRNO, 0, cmd->server,
- "DEPRECATED: '%s On|Off' replaced with 'ShibRequestSetting useHeaders 1|0'", arg1);
+ "DEPRECATED: '%s On|Off' replaced with 'ShibRequestSetting useHeaders 1|0'", cmd->cmd->name);
return shib_table_set(cmd, dc, (RequestMapper::USE_HEADERS_PROP_NAME, arg1);
}
- else if (!strcasecmp(arg1, "ShibUseEnvironment")) {
+ else if (!strcasecmp(cmd->cmd->name, "ShibUseEnvironment")) {
ap_log_error(APLOG_MARK, APLOG_WARNING|APLOG_NOERRNO, 0, cmd->server,
- "DEPRECATED: '%s On|Off' replaced with 'ShibRequestSetting useVariables 1|0'", arg1);
+ "DEPRECATED: '%s On|Off' replaced with 'ShibRequestSetting useVariables 1|0'", cmd->cmd->name);
return shib_table_set(cmd, dc, (RequestMapper::USE_VARIABLES_PROP_NAME, arg1);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list