Bug 496455 - CryptoMeta__addUnwrappedKey always gets undefined new_pubkey

yield for PubKeys.get() when passed a string uri

--HG--
extra : rebase_source : d81bcbc7ba8fc45e83fb395dc93653f2749b3eed
This commit is contained in:
Edward Lee 2009-06-04 17:42:22 -07:00
Родитель a95b452ced
Коммит 9dec09e21c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -196,7 +196,7 @@ CryptoMeta.prototype = {
// get the new public key
if (typeof new_pubkey == 'string')
new_pubkey = PubKeys.get(self.cb, new_pubkey);
new_pubkey = yield PubKeys.get(self.cb, new_pubkey);
// each hash key is a relative uri, resolve those and
// if we find the one we're about to add, remove it