浏览代码

Merge branch 'master' into travis

Ugochukwu Mmaduekwe 7 年之前
父节点
当前提交
4ca9290018
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      CryptoLib/src/Math/ClpBigInteger.pas

+ 2 - 1
CryptoLib/src/Math/ClpBigInteger.pas

@@ -806,7 +806,9 @@ begin
   while (input <> 0) do
   begin
     if (input and 1) = 1 then
+    begin
       bits[i] := '1'
+    end
     else
     begin
       bits[i] := '0';
@@ -814,7 +816,6 @@ begin
     System.Inc(i);
     input := input shr 1;
   end;
-
   System.SetString(Result, PChar(@bits[0]), i);
 
   Result := ReverseString(Result);