summaryrefslogtreecommitdiffstats
path: root/platform/macos/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-04-11 19:40:11 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-04-11 19:40:11 +0200
commit02b9a9268aaa74868267d11904b0e9e8afd6a8f2 (patch)
tree5893e6f0ea147da024aa1f75cdc877aa782019bb /platform/macos/export/export_plugin.cpp
parent23a3e3984b2ce64da530ea363f44d867c7bad464 (diff)
parent76e1d1363b954fa4ca989516ad5851c40a288a48 (diff)
downloadredot-engine-02b9a9268aaa74868267d11904b0e9e8afd6a8f2.tar.gz
Merge pull request #74326 from mjunix/patch-1
macOS export: Fix validation of codesigning certificate password
Diffstat (limited to 'platform/macos/export/export_plugin.cpp')
-rw-r--r--platform/macos/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp
index 5a097adf39..ab76d9b273 100644
--- a/platform/macos/export/export_plugin.cpp
+++ b/platform/macos/export/export_plugin.cpp
@@ -768,7 +768,7 @@ Error EditorExportPlatformMacOS::_code_sign(const Ref<EditorExportPreset> &p_pre
String certificate_file = p_preset->get("codesign/certificate_file");
String certificate_pass = p_preset->get("codesign/certificate_password");
- if (!certificate_file.is_empty() && !certificate_file.is_empty()) {
+ if (!certificate_file.is_empty() && !certificate_pass.is_empty()) {
args.push_back("--p12-file");
args.push_back(certificate_file);
args.push_back("--p12-password");