am cc68ce70: Merge "Allow ECDSA signing OTA files"

* commit 'cc68ce7012784a3d2ad12e041c8e82def74f20cd':
  Allow ECDSA signing OTA files
This commit is contained in:
Kenny Root 2013-10-14 14:10:05 -07:00 committed by Android Git Automerger
commit b0af7e5107

View file

@ -858,10 +858,6 @@ class SignApk {
if (signWholeFile) {
if (!"RSA".equalsIgnoreCase(privateKey[0].getAlgorithm())) {
System.err.println("Cannot sign OTA packages with non-RSA keys");
System.exit(1);
}
SignApk.signWholeFile(inputJar, firstPublicKeyFile,
publicKey[0], privateKey[0], outputFile);
} else {