forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix KeyInfoX509Data encoding negative serial numbers.
.NET Framework treats the serial number from an X509Certificate as unsigned, and encodes the serial number as a positive integer. This changes the .NET Core implementation to encode the serial number in the same way.
- Loading branch information
1 parent
d88216d
commit 2dddda9
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters