summaryrefslogtreecommitdiffstats
path: root/keystore
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-06-23 09:08:06 -0700
committerAlex Klyubin <klyubin@google.com>2015-06-23 09:09:11 -0700
commit7ecb298c6d5a4af561ed98dbc0ff4040132d01d5 (patch)
tree7973a848a84dcab633e37f503ca34b1b744850c9 /keystore
parent6d2268a57603e1c60329b93fb853ac2c134cb932 (diff)
downloadframeworks_base-7ecb298c6d5a4af561ed98dbc0ff4040132d01d5.zip
frameworks_base-7ecb298c6d5a4af561ed98dbc0ff4040132d01d5.tar.gz
frameworks_base-7ecb298c6d5a4af561ed98dbc0ff4040132d01d5.tar.bz2
Fix typo in Android Keystore KeyFactory exception message.
The typo was pointed out by kroot@ in code review of 4ecd092226fbd748b4a26f3bbb5c4d25a3488fff after it was submitted. Bug: 18088752 Change-Id: I50d2fa93e1a2d352fe432e34ce98add82a71c483
Diffstat (limited to 'keystore')
-rw-r--r--keystore/java/android/security/keystore/AndroidKeyStoreKeyFactorySpi.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore/java/android/security/keystore/AndroidKeyStoreKeyFactorySpi.java b/keystore/java/android/security/keystore/AndroidKeyStoreKeyFactorySpi.java
index 250bad7..515be1d 100644
--- a/keystore/java/android/security/keystore/AndroidKeyStoreKeyFactorySpi.java
+++ b/keystore/java/android/security/keystore/AndroidKeyStoreKeyFactorySpi.java
@@ -113,7 +113,7 @@ public class AndroidKeyStoreKeyFactorySpi extends KeyFactorySpi {
return result;
} else {
throw new InvalidKeySpecException(
- "Obtaining RSAPublicKeySpec not supported for " + key.getAlgorithm() + " "
+ "Obtaining ECPublicKeySpec not supported for " + key.getAlgorithm() + " "
+ ((key instanceof AndroidKeyStorePrivateKey) ? "private" : "public")
+ " key");
}