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

Commit 8875f872 authored by Janis Danisevskis's avatar Janis Danisevskis
Browse files

Keystore: Fix Device ID attestation test.

Test: atest android.keystore.cts.KeyAttestationTest#testDeviceIdAttestation
Bug: 182606921
Change-Id: Ie8dbc4a2829fb7f70188c5d903e748060c5869ce
parent 4cc71277
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -287,6 +287,8 @@ public abstract class AttestationUtils {
            keyStore.deleteEntry(keystoreAlias);

            return certificateChain;
        } catch (SecurityException e) {
            throw e;
        } catch (Exception e) {
            throw new DeviceIdAttestationException("Unable to perform attestation", e);
        }