1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-07-14 14:32:01 -04:00
parent 0242de9145
commit 715835c12f
7 changed files with 15 additions and 14 deletions

View File

@@ -351,7 +351,7 @@ angular
var cipherString = iv + '|' + ct;
if (encValue.mac) {
var mac = forge.util.encode64(encValue.mac)
var mac = forge.util.encode64(encValue.mac);
cipherString = cipherString + '|' + mac;
}
@@ -362,7 +362,7 @@ angular
return aesEncryptWC(plainValue, key).then(function (encValue) {
var macLen = 0;
if (encValue.mac) {
macLen = encValue.mac.length
macLen = encValue.mac.length;
}
var encBytes = new Uint8Array(1 + encValue.iv.length + macLen + encValue.ct.length);