forked from openkylin/platform_build
am b0af7e51: am cc68ce70: Merge "Allow ECDSA signing OTA files"
* commit 'b0af7e5107abb17fc756044454b3a452d0dafb50': Allow ECDSA signing OTA files
This commit is contained in:
commit
16d2dccd09
|
@ -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