diff options
Diffstat (limited to 'chrome/browser/extensions/extension_creator.cc')
-rw-r--r-- | chrome/browser/extensions/extension_creator.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_creator.cc b/chrome/browser/extensions/extension_creator.cc index e344338..285aa5c 100644 --- a/chrome/browser/extensions/extension_creator.cc +++ b/chrome/browser/extensions/extension_creator.cc @@ -228,7 +228,11 @@ bool ExtensionCreator::SignZip(const base::FilePath& zip_path, } zip_handle.Close(); - signature_creator->Final(signature); + if (!signature_creator->Final(signature)) { + error_message_ = + l10n_util::GetStringUTF8(IDS_EXTENSION_ERROR_WHILE_SIGNING); + return false; + } return true; } |