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;
}