Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 915fe666 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Allow any mode when checking DICE chain" into main am: 46b26654

parents 62fbc976 46b26654
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -870,7 +870,7 @@ ErrMsgOr<bool> isCsrWithProperDiceChain(const std::vector<uint8_t>& encodedCsr,
    }

    auto csr = hwtrust::Csr::validate(encodedCsr, *diceChainKind, false /*isFactory*/,
                                      false /*allowAnyMode*/, deviceSuffix(instanceName));
                                      true /*allowAnyMode*/, deviceSuffix(instanceName));
    if (!csr.ok()) {
        return csr.error().message();
    }