commit | 37388b36bf4f5eb9b85f08268cc59294278ec741 | [log] [tgz] |
---|---|---|
author | David Zeuthen <zeuthen@google.com> | Thu Feb 11 08:37:31 2021 -0500 |
committer | David Zeuthen <zeuthen@google.com> | Thu Feb 11 08:44:51 2021 -0500 |
tree | 3a9566632ef02ecf217f6d560cadd50b52ba6b35 | |
parent | 1d926594bde26421d3133942e36f8354740d3d79 [diff] |
Identity: Fix breakage caused by recent changes in libsoft_attestation_cert. CL:1566356 changed the notBefore and notAfter fields in the X.509 attestation certificate returned by generate_attestation_from_EVP(). This broke the default implementation of the Identity Credential HAL. Fixed by setting TAG_CERTIFICATE_NOT_BEFORE and TAG_CERTIFICATE_NOT_AFTER to the expected values. Test: atest VtsHalIdentityTargetTest Bug: 179933300 Change-Id: I2dbca41c1e905c17cd2bc565d2e987945b86273a