--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-04 17:22:43 -06:00
commit d69198732e
373 files changed
+2607 -2215

No files matched your search

+1 -1
View File
@@ -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);