Merge "Keystore: Fix Device ID attestation test."

This commit is contained in:
Treehugger Robot
2021-03-22 21:57:42 +00:00
committed by Gerrit Code Review

View File

@@ -287,6 +287,8 @@ public abstract class AttestationUtils {
keyStore.deleteEntry(keystoreAlias); keyStore.deleteEntry(keystoreAlias);
return certificateChain; return certificateChain;
} catch (SecurityException e) {
throw e;
} catch (Exception e) { } catch (Exception e) {
throw new DeviceIdAttestationException("Unable to perform attestation", e); throw new DeviceIdAttestationException("Unable to perform attestation", e);
} }