[Auth] Only set GSS_C_DELEG_FLAG flag when we confirm server supports delegation.

This commit is contained in:
Moonchild 2026-01-14 21:50:24 +01:00 committed by OwnedByWuigi
commit 20dcff60d6
2 changed files with 44 additions and 6 deletions

View file

@ -54,9 +54,11 @@ private:
gss_ctx_id_t mCtx;
gss_OID mMechOID;
nsCString mServiceName;
uint32_t mServiceFlags;
uint32_t mServiceFlags = REQ_DEFAULT;
nsString mUsername;
bool mComplete;
bool mComplete = false;
bool mDelegationRequested = false;
bool mDelegationSupported = false;
};
#endif /* nsAuthGSSAPI_h__ */