Bug 302287: support crypto hashes for add-ons; fix installation error for

items that have hashes. patch from mao, r=shaver.
This commit is contained in:
shaver%mozilla.org 2006-07-01 20:42:36 +00:00
parent 3eb1ab9d65
commit 595529ff5c

View File

@ -48,7 +48,7 @@ function install( aEvent, extName, iconURL, extHash) {
// We optionally add this to params[] because installTrigger
// will still try to compare a null hash as long as the var is set.
if (extHash) {
params[extName][Hash] = extHash;
params[extName].Hash = extHash;
}
InstallTrigger.install(params);