diff options
author | Kenny Root <kroot@google.com> | 2020-02-20 09:26:03 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2020-02-20 09:26:03 -0800 |
commit | 511b45b531b0bf60a5e54e8dd99fbcab7bd39a45 (patch) | |
tree | eaf52e9b278a77c9c67ab058f9b57884a5df12af /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bd8dd47fdecea6b803744a80459aadaa23789b79 (diff) |
RebootEscrowKey: use bytes for equivalence
Since RebootEscrowKey started wrapping SecretKey, it is necessary to check
equivalence via a method that does not do object equivalence. Use the
underlying byte array in the tests. equals() could be implemented, but then
hashCode() would need to be implemented which would be based on the private
key.
Test: atest RebootEscrowDataTest
Change-Id: Ia5b0bb822dcd3e59b5898f390fa8670db0b8d4c9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions