forked from openkylin/platform_build
am cc68ce70: Merge "Allow ECDSA signing OTA files"
* commit 'cc68ce7012784a3d2ad12e041c8e82def74f20cd': Allow ECDSA signing OTA files
This commit is contained in:
commit
b0af7e5107
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue