From 5de60e50f54eebd6ed0b4e9c7de023df3a27797d Mon Sep 17 00:00:00 2001 From: Mustafa UZUN Date: Sun, 6 Aug 2023 12:43:28 +0300 Subject: [PATCH] crypto: moving the returns on newlines https://github.com/nodejs/node/pull/49030#issuecomment-1666791404 --- lib/internal/crypto/util.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/internal/crypto/util.js b/lib/internal/crypto/util.js index 0dcc4ddf61cac5..21be700d557a43 100644 --- a/lib/internal/crypto/util.js +++ b/lib/internal/crypto/util.js @@ -492,10 +492,12 @@ function getBlockSize(name) { switch (name) { case 'SHA-1': // Fall through - case 'SHA-256': return 512; + case 'SHA-256': + return 512; case 'SHA-384': // Fall through - case 'SHA-512': return 1024; + case 'SHA-512': + return 1024; } }