[release/6.0] Fix Windows 8 detection in Pbkdf2 (#58823)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 9 Sep 2021 15:00:11 +0000 (09:00 -0600)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 15:00:11 +0000 (09:00 -0600)
commit06b23ba6edae9c1eeef4df5e84b33433617c22d1
tree938542e35fcbc10358266c25b2cc3ae6cc8dc408
parente45630eaf0508a989fb2388a61b4f1b2e0456345
[release/6.0] Fix Windows 8 detection in Pbkdf2 (#58823)

* Fix Windows 8 detection.

Windows 8's actual version is 6.2, not 8. The test would succeed only on Windows 10+.

* Explain that Windows 8's version is 6.2.

Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
Co-authored-by: Theodore Tsirpanis <12659251+teo-tsirpanis@users.noreply.github.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
src/libraries/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/Pbkdf2Implementation.Windows.cs