diff options
| author | 2018-01-12 19:36:41 -0500 | |
|---|---|---|
| committer | 2018-01-12 19:36:41 -0500 | |
| commit | 8e51c61dbce925e0992e27c2c33311583645bd6f (patch) | |
| tree | 2e868c243b15eaa63b953696775e0b84bab2fd22 /src/core/telemetry_session.cpp | |
| parent | dynarmic: Update to 83afe435 (diff) | |
| download | yuzu-8e51c61dbce925e0992e27c2c33311583645bd6f.tar.gz yuzu-8e51c61dbce925e0992e27c2c33311583645bd6f.tar.xz yuzu-8e51c61dbce925e0992e27c2c33311583645bd6f.zip | |
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.cpp | 3 |
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 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstring> | 5 | #include <cstring> |
| 6 | #include <cryptopp/osrng.h> | ||
| 7 | 6 | ||
| 8 | #include "common/assert.h" | 7 | #include "common/assert.h" |
| 9 | #include "common/file_util.h" | 8 | #include "common/file_util.h" |
| @@ -34,8 +33,6 @@ static const char* CpuVendorToStr(Common::CPUVendor vendor) { | |||
| 34 | 33 | ||
| 35 | static u64 GenerateTelemetryId() { | 34 | static u64 GenerateTelemetryId() { |
| 36 | u64 telemetry_id{}; | 35 | u64 telemetry_id{}; |
| 37 | CryptoPP::AutoSeededRandomPool rng; | ||
| 38 | rng.GenerateBlock(reinterpret_cast<CryptoPP::byte*>(&telemetry_id), sizeof(u64)); | ||
| 39 | return telemetry_id; | 36 | return telemetry_id; |
| 40 | } | 37 | } |
| 41 | 38 | ||