瀏覽代碼

change in GetHexaValue for conformance with OpenSSL bignum

Ugochukwu Mmaduekwe 6 年之前
父節點
當前提交
4b981a1c3a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;