Fix typo in Android Keystore KeyFactory exception message.

The typo was pointed out by kroot@ in code review of
4ecd092226 after it was submitted.

Bug: 18088752
Change-Id: I50d2fa93e1a2d352fe432e34ce98add82a71c483
This commit is contained in:
Alex Klyubin
2015-06-23 09:08:06 -07:00
parent 6d2268a576
commit 7ecb298c6d

View File

@@ -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");
}