From 6895a549ec4dc8ba64a814550b6a56073129085c Mon Sep 17 00:00:00 2001 From: Alex Klyubin Date: Wed, 8 Apr 2015 11:08:37 -0700 Subject: Fix typo Change-Id: I1c47ade98ad3ae41dc55e7bcafcad6901b559c89 --- keystore/java/android/security/KeyStoreKeyConstraints.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keystore/java') diff --git a/keystore/java/android/security/KeyStoreKeyConstraints.java b/keystore/java/android/security/KeyStoreKeyConstraints.java index 0297323..202e38d 100644 --- a/keystore/java/android/security/KeyStoreKeyConstraints.java +++ b/keystore/java/android/security/KeyStoreKeyConstraints.java @@ -580,7 +580,7 @@ public abstract class KeyStoreKeyConstraints { } else if ("ctr".equals(modeLower)) { return CTR; } else if ("gcm".equals(modeLower)) { - return CTR; + return GCM; } else { throw new IllegalArgumentException("Unknown block mode: " + mode); } -- cgit v1.1