[cpp-sp] 01/02: Remove defunct request method.

Scott Cantor cantor.2 at osu.edu
Thu Dec 26 17:58:30 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=38aadfa85cd5b191fe1e370d761f0a69871b836f

commit 38aadfa85cd5b191fe1e370d761f0a69871b836f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 26 11:51:51 2024 -0500

    Remove defunct request method.
---
 apache/mod_shib_24.cpp | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/apache/mod_shib_24.cpp b/apache/mod_shib_24.cpp
index 68900c96..50428c6e 100644
--- a/apache/mod_shib_24.cpp
+++ b/apache/mod_shib_24.cpp
@@ -322,7 +322,6 @@ class ShibTargetApache : public AbstractSPRequest
 {
   mutable string m_body;
   mutable bool m_gotBody,m_firsttime;
-  mutable vector<string> m_certs;
   set<string> m_allhttp;
 
 public:
@@ -594,20 +593,6 @@ public:
     }
     return HTTP_MOVED_TEMPORARILY;
   }
-  const vector<string>& getClientCertificates() const {
-      if (m_certs.empty()) {
-          const char* cert = apr_table_get(m_req->subprocess_env, "SSL_CLIENT_CERT");
-          if (cert)
-              m_certs.push_back(cert);
-          int i = 0;
-          do {
-              cert = apr_table_get(m_req->subprocess_env, apr_psprintf(m_req->pool, "SSL_CLIENT_CERT_CHAIN_%d", i++));
-              if (cert)
-                  m_certs.push_back(cert);
-          } while (cert);
-      }
-      return m_certs;
-  }
   long returnDecline(void) { return DECLINED; }
   long returnOK(void) { return OK; }
 };

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


More information about the commits mailing list