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

Commit 41580971 authored by David Drysdale's avatar David Drysdale Committed by Automerger Merge Worker
Browse files

Merge "KeyMint: fix auth test HAT" into main am: 41bbc573

parents 2c6eb766 41bbc573
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ TEST_P(AuthTest, AuthPerOperation) {
    ASSERT_GT(dodgy_hat->mac.size(), 0);
    dodgy_hat->mac[0] ^= 0x01;
    EXPECT_EQ(ErrorCode::KEY_USER_NOT_AUTHENTICATED,
              Finish(message, {} /* signature */, &ciphertext, hat.value()));
              Finish(message, {} /* signature */, &ciphertext, dodgy_hat.value()));
}

// Test use of a key that requires an auth token for each action on the operation, with