[cpp-sp] branch main updated: Guard GSS usage.

Scott Cantor cantor.2 at osu.edu
Mon Oct 20 13:17:59 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=1167c83645f75abd07967f800f3016fe4e6bc640

The following commit(s) were added to refs/heads/main by this push:
     new 1167c836 Guard GSS usage.
1167c836 is described below

commit 1167c83645f75abd07967f800f3016fe4e6bc640
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 20 09:17:55 2025 -0400

    Guard GSS usage.
---
 shibsp/remoting/impl/CurlHTTPRemotingService.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/shibsp/remoting/impl/CurlHTTPRemotingService.cpp b/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
index f34b1380..08250eae 100644
--- a/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
+++ b/shibsp/remoting/impl/CurlHTTPRemotingService.cpp
@@ -290,7 +290,14 @@ CURL* CurlHTTPRemotingService::checkout() const
         case agent_auth_none:
         case agent_auth_basic:  flag = CURLAUTH_BASIC; break;
         case agent_auth_digest: flag = CURLAUTH_DIGEST; break;
+    #ifdef CURLAUTH_NEGOTIATE
         case agent_auth_gss:    flag = CURLAUTH_NEGOTIATE; break;
+    #else
+        case agent_auth_gss:
+            curl_easy_cleanup(m_handle);
+            throw RemotingException("GSS unsupporyed by this version of curl.);
+            break;
+    #endif
         default:                flag = 0; break;
     }
     SHIB_CURL_SET(CURLOPT_HTTPAUTH, flag);

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


More information about the commits mailing list