From 0711327d8b7a0fd06bdc9f8731a62644dc884a9b Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 15 Apr 2021 17:01:29 -0700 Subject: [PATCH] fix tag --- .../Common/src/Interop/Linux/OpenLdap/Interop.Ber.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libraries/Common/src/Interop/Linux/OpenLdap/Interop.Ber.cs b/src/libraries/Common/src/Interop/Linux/OpenLdap/Interop.Ber.cs index ce9eacee1ebd6..9278d7ab4a102 100644 --- a/src/libraries/Common/src/Interop/Linux/OpenLdap/Interop.Ber.cs +++ b/src/libraries/Common/src/Interop/Linux/OpenLdap/Interop.Ber.cs @@ -41,9 +41,7 @@ public static int ber_printf_emptyarg(SafeBerHandle berElement, string format, i } else { - // We allow "t" here to check that a tag value at the end of stream does not produce an error. - // The actual tag value that affects the next element is passed with the next element using the tag argument. - Debug.Assert(format == "n" || format == "t"); + Debug.Assert(format == "n"); return ber_put_null(berElement, tag); } }