Skip to content

rand: drop impossible preprocessor branches (wincrypt)#20859

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:wrand
Closed

rand: drop impossible preprocessor branches (wincrypt)#20859
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:wrand

Conversation

@vszakats
Copy link
Copy Markdown
Member

@vszakats vszakats commented Mar 8, 2026

After targeting Vista as minimum, the non-bcrypt fallback code was
impossible to reach, because on UWP wincrypt is never available.

After this patch it's more obvious that no-SSL UWP builds only support
weak random source.

Follow-up to b17ef87 #18009

After targeting Vista as minimum, the non-bcrypt fallback code was
impossible to reach, because on UWP wincrypt is never available.

Follow-up to b17ef87 curl#18009
@vszakats vszakats added build Windows Windows-specific tidy-up labels Mar 8, 2026
@vszakats vszakats closed this in 05189f5 Mar 9, 2026
@vszakats vszakats deleted the wrand branch March 9, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant