1.3.2: carry UnitKey.variant_number (all sources emit 0)

Construct unit keys via UnitKey::new; ordinary content is variant 0. Inherits libfreemkv 1.3.2. No behaviour change.
This commit is contained in:
Matthew Jackson
2026-07-10 14:00:28 -07:00
parent 46fecaeef1
commit 4f6029e4d4
6 changed files with 14 additions and 14 deletions
+1 -4
View File
@@ -184,10 +184,7 @@ impl KeydbSource {
// 1. Terminal Unit Keys stored in the entry — directly usable, no
// derivation. Preserve the keydb's CPS numbering (idx = num - 1).
for (num, key) in &entry.unit_keys {
keys.push(UnitKey {
idx: num.saturating_sub(1),
key: *key,
});
keys.push(UnitKey::new(num.saturating_sub(1), *key));
}
// The disc's encrypted title keys (from Unit_Key_RO.inf) — what every