mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-10 08:06:43 +00:00
missing brackets
This commit is contained in:
parent
2077d8487f
commit
3df1d849b3
@ -62,7 +62,7 @@ KDFParams.prototype.write = function () {
|
||||
};
|
||||
|
||||
KDFParams.fromClone = function (clone) {
|
||||
return new KDFParams(clone.hash, clone.cipher);
|
||||
return new KDFParams([clone.hash, clone.cipher]);
|
||||
};
|
||||
|
||||
export default KDFParams;
|
||||
|
Loading…
x
Reference in New Issue
Block a user