浏览代码

Fix JAR files signed with the MD5 algorithm are not supported

RameshRavone 7 年之前
父节点
当前提交
38b5679c49
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      platform/android/export/export.cpp

+ 2 - 2
platform/android/export/export.cpp

@@ -1282,9 +1282,9 @@ Error EditorExportPlatformAndroid::export_project(const String &p_path, bool p_d
 
 		List<String> args;
 		args.push_back("-digestalg");
-		args.push_back("SHA1");
+		args.push_back("SHA-256");
 		args.push_back("-sigalg");
-		args.push_back("MD5withRSA");
+		args.push_back("SHA256withRSA");
 		String tsa_url = EditorSettings::get_singleton()->get("android/timestamping_authority_url");
 		if (tsa_url != "") {
 			args.push_back("-tsa");