From 7ecb298c6d5a4af561ed98dbc0ff4040132d01d5 Mon Sep 17 00:00:00 2001 From: Alex Klyubin Date: Tue, 23 Jun 2015 09:08:06 -0700 Subject: 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 --- .../java/android/security/keystore/AndroidKeyStoreKeyFactorySpi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keystore') 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"); } -- cgit v1.1