Set KeySizeValue instead of doing gymnastics in LegalKeySizes.
authorJeremy Barton <jbarton@microsoft.com>
Thu, 30 Jun 2016 18:29:51 +0000 (11:29 -0700)
committerJeremy Barton <jbarton@microsoft.com>
Thu, 30 Jun 2016 19:41:31 +0000 (12:41 -0700)
commitf835996af558a60b7337cc5075ef74512fd16af3
treee4adb88c8715cba7bb7160e8e6ac440fa30632a1
parentb4b9f39125a11b893b685a07b2f414fc1cecf566
Set KeySizeValue instead of doing gymnastics in LegalKeySizes.

Commit migrated from https://github.com/dotnet/corefx/commit/cc0354ca6be9462ae4c94822de5b614f6cf915b7
src/libraries/Common/src/System/Security/Cryptography/ECDsaCng.cs
src/libraries/Common/src/System/Security/Cryptography/ECDsaOpenSsl.cs
src/libraries/Common/src/System/Security/Cryptography/RSACng.cs
src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs