Skip to content

sspi: add local helper macro to avoid UNICODE branching - #22738

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:unimacro
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:unimacro

Conversation

@vszakats

Copy link
Copy Markdown
Member

Also drop redundant cast and comment.

@vszakats vszakats added authentication Windows Windows-specific tidy-up Unicode Unicode, code page, character encoding labels Aug 29, 2026
Also drop redundant cast and comment.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Pull request overview

Centralizes SSPI identity flag selection for ANSI and Unicode Windows builds.

Changes:

  • Adds a local SSPI identity flag macro.
  • Replaces duplicated conditional assignments and removes a redundant cast/comment.
File summaries
File Description
lib/curl_sspi.h Defines the build-specific identity flag macro.
lib/curl_sspi.c Uses the macro when creating identities.
lib/vauth/spnego_sspi.c Uses the macro for SPNEGO identities.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vszakats vszakats closed this in b822355 Aug 30, 2026
@vszakats
vszakats deleted the unimacro branch August 30, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

authentication tidy-up Unicode Unicode, code page, character encoding Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

2 participants