Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate redundant SafePasswordHandle values #109391

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Conversation

bartonjs
Copy link
Member

new SafePasswordHandle(null, false) is the value represented by SafePasswordHandle.InvalidValue. Instead of making a using scope and a new object, just use the singleton.

`new SafePasswordHandle(null, false)` is the value represented by
SafePasswordHandle.InvalidValue.  Instead of making a using scope
and a new object, just use the singleton.
@bartonjs bartonjs added this to the 10.0.0 milestone Oct 30, 2024
@bartonjs bartonjs self-assigned this Oct 30, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

@bartonjs bartonjs merged commit cd63781 into dotnet:main Nov 5, 2024
79 of 83 checks passed
@bartonjs bartonjs deleted the passhandle branch November 5, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants