From eb482a8ab825bb54dc0a89d55b1ffc7bf6bd24f4 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Wed, 5 Aug 2020 11:47:17 +0200 Subject: [PATCH] style: lib/jwe/encrypt.js --- lib/jwe/encrypt.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/jwe/encrypt.js b/lib/jwe/encrypt.js index 355f2c7a..ccd76ae2 100644 --- a/lib/jwe/encrypt.js +++ b/lib/jwe/encrypt.js @@ -190,7 +190,11 @@ class Encrypt { let aad if (this._aad) { final.aad = base64url.encode(this._aad) - aad = Buffer.concat([Buffer.from(final.protected || ''), Buffer.from('.'), Buffer.from(final.aad)]) + aad = Buffer.concat([ + Buffer.from(final.protected || ''), + Buffer.from('.'), + Buffer.from(final.aad) + ]) } else { aad = Buffer.from(final.protected || '') }