mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-16 04:07:28 +01:00
core: Gut out cryptop, since it doesn't compile with C++17.
This commit is contained in:
1 parent
4b27ec5b07
commit
2817ec4da4
8 files changed
+7
-301
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user