This commit is contained in:
JoelKatz
2012-11-12 13:40:27 -08:00
parent 4fe3f7c7e0
commit 9e36f54e24

View File

@@ -792,7 +792,7 @@ void RippleAddress::setSeedRandom()
// XXX Maybe we should call MakeNewKey
uint128 key;
RAND_bytes((unsigned char *) &key, sizeof(key));
RAND_bytes(key.begin(), key.size());
RippleAddress::setSeed(key);
}