Browse Source

* Disable debug info, patch by MichaelW. Fixes issue #40466

Michaël Van Canneyt 1 year ago
parent
commit
0ec1f182b4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-hash/src/fpasn.pp

+ 2 - 0
packages/fcl-hash/src/fpasn.pp

@@ -974,8 +974,10 @@ var
   P, EndP: PByte;
   P, EndP: PByte;
   O : Tbytes;
   O : Tbytes;
 begin
 begin
+  {$IFDEF ASN1_DEBUG}
   ASNDebug(Buffer,O);
   ASNDebug(Buffer,O);
   Writeln(TEncoding.UTF8.GetAnsiString(O));
   Writeln(TEncoding.UTF8.GetAnsiString(O));
+  {$ENDIF}
   if length(Buffer)=0 then exit;
   if length(Buffer)=0 then exit;
   P:=@Buffer[0];
   P:=@Buffer[0];
   EndP:=P+length(Buffer);
   EndP:=P+length(Buffer);