| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -241,13 +241,13 @@ async function testSaltLength(keyLength, hash, hLen) { | |||
| 241 | 241 | ['SHA-256', 32], | |
| 242 | 242 | ['SHA-384', 48], | |
| 243 | 243 | ['SHA-512', 64], | |
| 244 | - ['SHA3-256', 32], | ||
| 245 | - ['SHA3-384', 48], | ||
| 246 | - ['SHA3-512', 64], | ||
| 244 | + ...(!process.features.openssl_is_boringssl ? [ | ||
| 245 | + ['SHA3-256', 32], | ||
| 246 | + ['SHA3-384', 48], | ||
| 247 | + ['SHA3-512', 64], | ||
| 248 | + ] : []), | ||
| 247 | 249 | ]) { | |
| 248 | - if (hash.startsWith('SHA-3') && !process.features.openssl_is_boringssl) { | ||
| 249 | - variations.push(testSaltLength(keyLength, hash, hLen)); | ||
| 250 | - } | ||
| 250 | + variations.push(testSaltLength(keyLength, hash, hLen)); | ||
| 251 | 251 | } | |
| 252 | 252 | } | |
| 253 | 253 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments