core: Gut out cryptop, since it doesn't compile with C++17.

This commit is contained in:
bunnei 2018-01-12 19:36:41 -05:00
parent 106d900f93
commit 8e51c61dbc
8 changed files with 7 additions and 301 deletions

View file

@ -3,7 +3,6 @@
// Refer to the license.txt file included.
#include <cstring>
#include <cryptopp/osrng.h>
#include "common/assert.h"
#include "common/file_util.h"
@ -34,8 +33,6 @@ static const char* CpuVendorToStr(Common::CPUVendor vendor) {
static u64 GenerateTelemetryId() {
u64 telemetry_id{};
CryptoPP::AutoSeededRandomPool rng;
rng.GenerateBlock(reinterpret_cast<CryptoPP::byte*>(&telemetry_id), sizeof(u64));
return telemetry_id;
}