Skip to content

Commit

Permalink
crypto: moving the returns on newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 committed Aug 6, 2023
1 parent b034fa1 commit 5de60e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/internal/crypto/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 5de60e5

Please sign in to comment.