aboutsummaryrefslogtreecommitdiffstats
path: root/package/cryptoAPI/pgpjs-keystore.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'package/cryptoAPI/pgpjs-keystore.jsm')
-rw-r--r--package/cryptoAPI/pgpjs-keystore.jsm4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/cryptoAPI/pgpjs-keystore.jsm b/package/cryptoAPI/pgpjs-keystore.jsm
index b76e4cb4..a25e6263 100644
--- a/package/cryptoAPI/pgpjs-keystore.jsm
+++ b/package/cryptoAPI/pgpjs-keystore.jsm
@@ -391,10 +391,10 @@ var pgpjs_keyStore = {
}
returnArray.toPacketList = function() {
- let pktList = new PgpJS.packet.List();
+ let pktList = new PgpJS.PacketList();
for (let i = 0; i < this.length; i++) {
- pktList.concat(this[i].toPacketList());
+ pktList = pktList.concat(this[i].toPacketList());
}
return pktList;