From 5b82a482673eef8a4cc6aae7980a6966c2c30475 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 20 Nov 2024 16:06:00 -0500 Subject: [PATCH] Update ASN.1 to 1.4.2 --- InfoPrint/InfoPrint.csproj | 4 ++++ .../Printers/PortableExecutable.cs | 11 ++--------- .../SabreTools.Serialization.csproj | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/InfoPrint/InfoPrint.csproj b/InfoPrint/InfoPrint.csproj index d5cc3a3e..1e781d01 100644 --- a/InfoPrint/InfoPrint.csproj +++ b/InfoPrint/InfoPrint.csproj @@ -30,4 +30,8 @@ + + + + \ No newline at end of file diff --git a/SabreTools.Serialization/Printers/PortableExecutable.cs b/SabreTools.Serialization/Printers/PortableExecutable.cs index 4e0762d3..d8751cea 100644 --- a/SabreTools.Serialization/Printers/PortableExecutable.cs +++ b/SabreTools.Serialization/Printers/PortableExecutable.cs @@ -514,15 +514,8 @@ namespace SabreTools.Serialization.Printers { foreach (TypeLengthValue tlv in topLevelValues) { - try - { - string tlvString = tlv.Format(paddingLevel: 4); - builder.AppendLine(tlvString, " Type-length-value"); - } - catch - { - builder.AppendLine(" Type-length-value: ERROR"); - } + string tlvString = tlv.Format(paddingLevel: 4); + builder.AppendLine(tlvString); } } } diff --git a/SabreTools.Serialization/SabreTools.Serialization.csproj b/SabreTools.Serialization/SabreTools.Serialization.csproj index c396a05d..0a74f4ae 100644 --- a/SabreTools.Serialization/SabreTools.Serialization.csproj +++ b/SabreTools.Serialization/SabreTools.Serialization.csproj @@ -30,7 +30,7 @@ - +