From e3ce4edede8941430ec49b44a848e4b7e306c15d Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 25 Nov 2023 15:33:33 -0800 Subject: [PATCH] fix 8-bit challenge rank encryption --- src/Text.hh | 2 +- tests/GC-Episode3TrialEditionLobbySmokeTest.test.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Text.hh b/src/Text.hh index 49205b88..a7ea96da 100644 --- a/src/Text.hh +++ b/src/Text.hh @@ -321,7 +321,7 @@ struct pstring { auto ret = tt_utf8_to_ascii(this->data, Bytes, s.data(), s.size(), true); this->clear_after(ret.bytes_written); if (Encoding == TextEncoding::CHALLENGE8) { - encrypt_challenge_rank_text_t(this->data, Bytes); + encrypt_challenge_rank_text_t(this->data, Bytes); } break; } diff --git a/tests/GC-Episode3TrialEditionLobbySmokeTest.test.txt b/tests/GC-Episode3TrialEditionLobbySmokeTest.test.txt index 490b2761..442257b3 100644 --- a/tests/GC-Episode3TrialEditionLobbySmokeTest.test.txt +++ b/tests/GC-Episode3TrialEditionLobbySmokeTest.test.txt @@ -2371,7 +2371,7 @@ I 25793 2023-11-24 23:03:44 - [Commands] Sending to C-5 (Tali) (version=GC_EP3_T 00B0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | -00E0 | 4F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | O +00E0 | 4F 75 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | Ou 00F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0100 | 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 | 0110 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |