resolve link warning on missing mac

This commit is contained in:
Kyle Spearrin 2018-01-18 12:14:30 -05:00
parent 0bbb118691
commit 8636033159
1 changed files with 1 additions and 0 deletions

View File

@ -483,6 +483,7 @@ export class CryptoService implements CryptoServiceInterface {
const theKey = this.resolveLegacyKey(encType, keyForEnc); const theKey = this.resolveLegacyKey(encType, keyForEnc);
if (theKey.macKey != null && macBytes == null) { if (theKey.macKey != null && macBytes == null) {
// tslint:disable-next-line
console.error('macBytes required.'); console.error('macBytes required.');
return null; return null;
} }