summaryrefslogtreecommitdiff
path: root/src/core/telemetry_session.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-12 19:36:41 -0500
committerbunnei <bunneidev@gmail.com>2018-01-12 19:36:41 -0500
commit8e51c61dbce925e0992e27c2c33311583645bd6f (patch)
tree2e868c243b15eaa63b953696775e0b84bab2fd22 /src/core/telemetry_session.cpp
parent106d900f936f4399572f9aee69c037f29d208a5a (diff)
core: Gut out cryptop, since it doesn't compile with C++17.
Diffstat (limited to 'src/core/telemetry_session.cpp')
-rw-r--r--src/core/telemetry_session.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp
index f9725b590..560c8af55 100644
--- a/src/core/telemetry_session.cpp
+++ b/src/core/telemetry_session.cpp
@@ -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;
}