Skip to content

schannel: properly close the certfile#19304

Closed
x2018 wants to merge 1 commit into
curl:masterfrom
x2018:fclose_fInCert
Closed

schannel: properly close the certfile#19304
x2018 wants to merge 1 commit into
curl:masterfrom
x2018:fclose_fInCert

Conversation

@x2018
Copy link
Copy Markdown
Contributor

@x2018 x2018 commented Oct 31, 2025

In schannel_acquire_credential_handle(), fInCert (if opened) is not properly closed when the cert type check fails.
This PR fixes it.

@github-actions github-actions Bot added TLS Windows Windows-specific labels Oct 31, 2025
@bagder bagder closed this in 27f5538 Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TLS Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

2 participants