fix #748, signature cloning in verification objects
This commit is contained in:
parent
d1416cbe2c
commit
adb0148ca1
|
@ -136,7 +136,8 @@ function packetlistCloneToCleartextMessage(clone) {
|
||||||
//verification objects
|
//verification objects
|
||||||
function packetlistCloneToSignatures(clone) {
|
function packetlistCloneToSignatures(clone) {
|
||||||
clone.keyid = type_keyid.fromClone(clone.keyid);
|
clone.keyid = type_keyid.fromClone(clone.keyid);
|
||||||
clone.signature = new Signature(clone.signature);
|
const packetlist = List.fromStructuredClone(clone.signature);
|
||||||
|
clone.signature = new Signature(packetlist);
|
||||||
return clone;
|
return clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user