From 6a3374309fa45bcd17a9cb7071715a8595ddebff Mon Sep 17 00:00:00 2001 From: Zephyron Date: Tue, 6 May 2025 16:15:37 +1000 Subject: [PATCH] fix(core): Correct telemetry personalization string size and update copyright - Updates the copyright year and project name in `telemetry_session.cpp`. - Adjusts the size of the `personalization` array for telemetry ID generation to correctly accommodate the "citron Telemetry ID" string, preventing potential truncation. Signed-off-by: Zephyron --- src/core/telemetry_session.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp index cc55915cb..70991d7af 100644 --- a/src/core/telemetry_session.cpp +++ b/src/core/telemetry_session.cpp @@ -1,4 +1,5 @@ // SPDX-FileCopyrightText: 2017 Citra Emulator Project +// SPDX-FileCopyrightText: 2025 citron Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include @@ -35,7 +36,7 @@ static u64 GenerateTelemetryId() { mbedtls_entropy_context entropy; mbedtls_entropy_init(&entropy); mbedtls_ctr_drbg_context ctr_drbg; - static constexpr std::array personalization{{"citron Telemetry ID"}}; + static constexpr std::array personalization{{"citron Telemetry ID"}}; mbedtls_ctr_drbg_init(&ctr_drbg); ASSERT(mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy,