Add two missing importKey methods

This commit is contained in:
Christoph Diehl 2018-01-31 12:08:56 +01:00
parent 96e9210407
commit 6c0c0c0fff
No known key found for this signature in database
GPG Key ID: 799CE5B68FEF404A
1 changed files with 7 additions and 1 deletions

View File

@ -756,6 +756,9 @@ make.crypto = {
generateKey: function () {
return this.alg()
},
importKey: function () {
return this.alg()
},
deriveBits: function () {
return Object.assign(
this.alg(),
@ -787,7 +790,10 @@ make.crypto = {
return {
}
},
generateKey: () => {
generateKey: function () {
return this.alg()
},
importKey: function () {
return this.alg()
},
deriveBits: function () {