Properly detect PK21 master key rev.

This commit is contained in:
Michael Scire 2018-03-01 03:28:34 -08:00
parent 205d3b8b80
commit 9553c69c8f

View file

@ -249,7 +249,7 @@ static uint32_t decrypt_and_validate_header(package2_header_t *header) {
/* See if this is the correct key. */
if (validate_package2_metadata(&metadata)) {
header->metadata = metadata;
break;
return mkey_rev;
}
}