*Merge.
--HG-- branch : trunk
This commit is contained in:
commit
d69198732e
373 files changed
+2607
-2215
No files matched your search
@@ -175,7 +175,7 @@ uint8 *BigNumber::AsByteArray(int minSize)
|
||||
// If we need more bytes than length of BigNumber set the rest to 0
|
||||
if (length > GetNumBytes())
|
||||
memset((void*)_array, 0, length);
|
||||
|
||||
|
||||
BN_bn2bin(_bn, (unsigned char *)_array);
|
||||
|
||||
std::reverse(_array, _array + length);
|
||||
|
||||
Reference in new issue
Block a user