Fix minor random bias
authorKevin Jones <kevin@vcsjones.com>
Mon, 28 Feb 2022 22:11:18 +0000 (17:11 -0500)
committerGitHub <noreply@github.com>
Mon, 28 Feb 2022 22:11:18 +0000 (14:11 -0800)
commit3d6781bdf367b0de082613b7ce9cb9b648ec6309
treecccc9b428a144526379162dba9cc1d3ee66e217f
parenta6f45395354fdcf63ee7f6abdadfb33f32e88459
Fix minor random bias

This corrects two uses of RandomNumberGenerator that resulted in slight
bias in their results.
src/libraries/System.DirectoryServices/src/System/DirectoryServices/ActiveDirectory/TrustHelper.cs
src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj
src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/TrustHelperTests.cs [new file with mode: 0644]
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/AuthenticationHelper.Digest.cs
src/libraries/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs