Browse Source

change in GetHexaValue for conformance with OpenSSL bignum

Ugochukwu Mmaduekwe 6 năm trước cách đây
mục cha
commit
4b981a1c3a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/core/UCrypto.pas

+ 1 - 1
src/core/UCrypto.pas

@@ -928,7 +928,7 @@ begin
   {$ENDIF}
   OPENSSL_free(p);
 {$ELSE}
-  Result := FBigInteger.ToString(16);
+  Result := FBigInteger.ToByteArrayUnsigned.ToHexaString;
 {$ENDIF}
 end;