Browse Source

simplified code

Ugochukwu Mmaduekwe 7 years ago
parent
commit
694257b83e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      CryptoLib/src/Utils/ClpConverters.pas

+ 0 - 4
CryptoLib/src/Utils/ClpConverters.pas

@@ -469,15 +469,11 @@ begin
   System.Assert(System.length(l_in) and 1 = 0);
   System.Assert(System.length(l_in) and 1 = 0);
 {$ENDIF DEBUG}
 {$ENDIF DEBUG}
   System.SetLength(result, System.length(l_in) shr 1);
   System.SetLength(result, System.length(l_in) shr 1);
-{$IFDEF FPC}
-  HexToBin(PChar(l_in), @result[0], System.length(result));
-{$ELSE}
 {$IFNDEF NEXTGEN}
 {$IFNDEF NEXTGEN}
   HexToBin(PChar(l_in), @result[0], System.length(result));
   HexToBin(PChar(l_in), @result[0], System.length(result));
 {$ELSE}
 {$ELSE}
   HexToBin(PChar(l_in), 0, result, 0, System.length(l_in));
   HexToBin(PChar(l_in), 0, result, 0, System.length(l_in));
 {$ENDIF !NEXTGEN}
 {$ENDIF !NEXTGEN}
-{$ENDIF FPC}
 end;
 end;
 
 
 class function TConverters.ConvertStringToBytes(const a_in: String;
 class function TConverters.ConvertStringToBytes(const a_in: String;