mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-10 01:47:03 +03:00
Cleanup OpenPGP.js and prepare for using Rollup
This commit is contained in:
parent
f6bba786ed
commit
c571a4fbe7
22 changed files with 5522 additions and 582 deletions
3
vendors/openpgp-2.6.2/src/key.js
vendored
3
vendors/openpgp-2.6.2/src/key.js
vendored
|
|
@ -91,7 +91,6 @@ Key.prototype.packetlist2structure = function(packetlist) {
|
|||
case enums.signature.cert_casual:
|
||||
case enums.signature.cert_positive:
|
||||
if (!user) {
|
||||
util.print_debug('Dropping certification signatures without preceding user packet');
|
||||
continue;
|
||||
}
|
||||
if (packetlist[i].issuerKeyId.equals(primaryKeyId)) {
|
||||
|
|
@ -127,7 +126,6 @@ Key.prototype.packetlist2structure = function(packetlist) {
|
|||
break;
|
||||
case enums.signature.subkey_binding:
|
||||
if (!subKey) {
|
||||
util.print_debug('Dropping subkey binding signature without preceding subkey packet');
|
||||
continue;
|
||||
}
|
||||
subKey.bindingSignatures.push(packetlist[i]);
|
||||
|
|
@ -137,7 +135,6 @@ Key.prototype.packetlist2structure = function(packetlist) {
|
|||
break;
|
||||
case enums.signature.subkey_revocation:
|
||||
if (!subKey) {
|
||||
util.print_debug('Dropping subkey revocation signature without preceding subkey packet');
|
||||
continue;
|
||||
}
|
||||
subKey.revocationSignature = packetlist[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue