Remove OpenSSL PRNG reseeding

Per https://download.libsodium.org/doc/generating_random_data/ reseeding the
default libsodium PRNG is not required.
This commit is contained in:
Jack Grigg
2017-01-04 10:36:09 +01:00
parent 13124da0b6
commit 207924a1d5
8 changed files with 0 additions and 86 deletions

View File

@@ -21,7 +21,6 @@ bool CKey::Check(const unsigned char *vch) {
}
void CKey::MakeNewKey(bool fCompressedIn) {
RandAddSeedPerfmon();
do {
GetRandBytes(vch, sizeof(vch));
} while (!Check(vch));