1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 09:32:06 +01:00

crypto service update

This commit is contained in:
Kyle Spearrin 2019-04-09 09:06:05 -04:00
parent 0b0245b90f
commit bb6c194eab

View File

@ -714,7 +714,7 @@ export class CryptoService implements CryptoServiceAbstraction {
return phrase;
}
private async buildEncKey(key: SymmetricCryptoKey, encKey: ArrayBuffer = null)
private async buildEncKey(key: SymmetricCryptoKey, encKey: ArrayBuffer)
: Promise<[SymmetricCryptoKey, CipherString]> {
let encKeyEnc: CipherString = null;
if (key.key.byteLength === 32) {