diff --git a/firmware/recovery.c b/firmware/recovery.c index c53a42b845..48213e0d6e 100644 --- a/firmware/recovery.c +++ b/firmware/recovery.c @@ -39,7 +39,7 @@ static char words[24][12]; void next_word(void) { word_pos = word_order[word_index]; if (word_pos == 0) { - const char **wl = mnemonic_wordlist(); + const char * const *wl = mnemonic_wordlist(); strlcpy(fake_word, wl[random_uniform(2048)], sizeof(fake_word)); layoutDialogSwipe(DIALOG_ICON_INFO, NULL, NULL, NULL, "Please enter the word", NULL, fake_word, NULL, "on your computer", NULL); } else { @@ -119,7 +119,7 @@ void recovery_word(const char *word) } } else { // real word if (enforce_wordlist) { // check if word is valid - const char **wl = mnemonic_wordlist(); + const char * const *wl = mnemonic_wordlist(); bool found = false; while (*wl) { if (strcmp(word, *wl) == 0) { diff --git a/trezor-crypto b/trezor-crypto index f4fe7c9aa5..d814f58a3b 160000 --- a/trezor-crypto +++ b/trezor-crypto @@ -1 +1 @@ -Subproject commit f4fe7c9aa5e85ec3898ce07a5af5fc99bb8f5de4 +Subproject commit d814f58a3b027b154ae77bdf236a0cd08a421107