Skip to content

Commit

Permalink
fix leftover in conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani committed Mar 20, 2024
1 parent f980ed7 commit 0e90523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trusted_os/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (r *RPC) ReadRPMB(buf []byte, n *uint32) error {
//
// The diversifier is AES-CBC encrypted using the internal OTPMK key.
func (r *RPC) DeriveKey(diversifier [aes.BlockSize]byte, key *[sha256.Size]byte) (err error) {
if debug && !imx6ul.Native {
if debug
if imx6ul.Native {
return errors.New("Weird - SNVS not available but we're not in debug?!")
} else {
Expand Down

0 comments on commit 0e90523

Please sign in to comment.