Skip to content

Commit

Permalink
Remove dashes from hex strings
Browse files Browse the repository at this point in the history
  • Loading branch information
aseigler committed Oct 31, 2024
1 parent 8bf4cb0 commit 07bfa45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Fido2/AttestationFormat/Tpm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Fido2NetLib;

internal sealed class Tpm : AttestationVerifier
{
private static string ConvertTPMManufacturerToHexString(string id) => BitConverter.ToString(Convert.FromHexString(id.Split(':')[^1]));
private static string ConvertTPMManufacturerToHexString(string id) => BitConverter.ToString(Convert.FromHexString(id.Split(':')[^1])).Replace("-","");

public static readonly HashSet<string> TPMManufacturers =
[
Expand Down

0 comments on commit 07bfa45

Please sign in to comment.