fix 8-bit challenge rank encryption

This commit is contained in:
Martin Michelsen
2023-11-25 15:33:33 -08:00
parent 61c37d86c1
commit e3ce4edede
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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<le_uint16_t>(this->data, Bytes);
encrypt_challenge_rank_text_t<uint8_t>(this->data, Bytes);
}
break;
}
@@ -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 |