1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-20 05:11:42 +00:00

eks: Add compatibility support for v1.1

This commit is contained in:
CTCaer 2021-01-05 15:37:36 +02:00
parent 7b460f7e56
commit f196b8bb0e
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ void hos_eks_get()
// Check if valid and for this unit. // Check if valid and for this unit.
if (eks->magic == HOS_EKS_MAGIC && if (eks->magic == HOS_EKS_MAGIC &&
eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0)) (eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0) || eks->lot0 == FUSE(FUSE_PRIVATE_KEY0)))
{ {
h_cfg.eks = eks; h_cfg.eks = eks;
return; return;

View File

@ -180,7 +180,7 @@ void hos_eks_get()
// Check if valid and for this unit. // Check if valid and for this unit.
if (eks->magic == HOS_EKS_MAGIC && if (eks->magic == HOS_EKS_MAGIC &&
eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0)) (eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0) || eks->lot0 == FUSE(FUSE_PRIVATE_KEY0)))
{ {
h_cfg.eks = eks; h_cfg.eks = eks;
return; return;