mirror of
https://github.com/curl/curl.git
synced 2026-08-02 10:30:28 +03:00
curl_gssapi: document/update feature availability
- update `GSS_C_DELEG_POLICY_FLAG` comment to include Apple GSS, add date, and amend MIT Kerberos version to 1.7+ (was: 1.8+) Ref:45875a4d7bRef:1635de38a8- document `HAVE_GSS_SET_NEG_MECHS`/`gss_set_neg_mechs()`. Ref:079eed2cf7It's also committed to Heimdal, but not present in a release as of 7.8.0 (current latest). Ref:735039dbdcFollow-up toa8881e5e1d#21315 #22410 Follow-up tod169ad68fa#22052 Closes #22419
This commit is contained in:
parent
5e75aedab2
commit
75404bda1a
1 changed files with 4 additions and 2 deletions
|
|
@ -435,7 +435,8 @@ static OM_uint32 stub_gss_indicate_mechs(
|
|||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_GSS_SET_NEG_MECHS
|
||||
#ifdef HAVE_GSS_SET_NEG_MECHS /* MIT Kerberos 1.8+ (2010-03-02),
|
||||
missing from Apple GSS, GNU GSS */
|
||||
static OM_uint32 stub_gss_set_neg_mechs(
|
||||
OM_uint32 *min,
|
||||
gss_cred_id_t cred_handle,
|
||||
|
|
@ -509,7 +510,8 @@ OM_uint32 Curl_gss_init_sec_context(struct Curl_easy *data,
|
|||
req_flags |= GSS_C_MUTUAL_FLAG;
|
||||
|
||||
if(data->set.gssapi_delegation & CURLGSSAPI_DELEGATION_POLICY_FLAG) {
|
||||
#ifdef GSS_C_DELEG_POLICY_FLAG /* MIT Kerberos 1.8+, missing from GNU GSS */
|
||||
#ifdef GSS_C_DELEG_POLICY_FLAG /* MIT Kerberos 1.7+ (2009-06-02), Apple GSS,
|
||||
missing from GNU GSS */
|
||||
req_flags |= GSS_C_DELEG_POLICY_FLAG;
|
||||
#else
|
||||
infof(data, "WARNING: support for CURLGSSAPI_DELEGATION_POLICY_FLAG not "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue