fix 8-bit challenge rank encryption
This commit is contained in:
+1
-1
@@ -321,7 +321,7 @@ struct pstring {
|
|||||||
auto ret = tt_utf8_to_ascii(this->data, Bytes, s.data(), s.size(), true);
|
auto ret = tt_utf8_to_ascii(this->data, Bytes, s.data(), s.size(), true);
|
||||||
this->clear_after(ret.bytes_written);
|
this->clear_after(ret.bytes_written);
|
||||||
if (Encoding == TextEncoding::CHALLENGE8) {
|
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;
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
0110 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
|
||||||
|
|||||||
Reference in New Issue
Block a user