Fix missing titlekey revision assignment

This commit is contained in:
Michael Scire 2018-02-27 15:14:23 -08:00
parent 602507ee8f
commit 9a5bc05259

View file

@ -22,6 +22,7 @@ void tkey_set_master_key_rev(unsigned int master_key_rev) {
if (master_key_rev >= MASTERKEY_REVISION_MAX) { if (master_key_rev >= MASTERKEY_REVISION_MAX) {
generic_panic(); generic_panic();
} }
g_tkey_master_key_rev = master_key_rev;
} }
/* Reference for MGF1 can be found here: https://en.wikipedia.org/wiki/Mask_generation_function#MGF1 */ /* Reference for MGF1 can be found here: https://en.wikipedia.org/wiki/Mask_generation_function#MGF1 */