| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bec0421 commit 85ffc2f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -132,12 +132,12 @@ const noCapitals = /^[^A-Z]+$/; | |||
| 132 | 132 | assert(tlsCiphers.every((value) => noCapitals.test(value))); | |
| 133 | 133 | validateList(tlsCiphers); | |
| 134 | 134 | ||
| 135 | - // Assert that we have sha and sha1 but not SHA and SHA1. | ||
| 135 | + // Assert that we have sha1 and sha256 but not SHA1 and SHA256. | ||
| 136 | 136 | assert.notStrictEqual(0, crypto.getHashes().length); | |
| 137 | 137 | assert(crypto.getHashes().includes('sha1')); | |
| 138 | - assert(crypto.getHashes().includes('sha')); | ||
| 138 | + assert(crypto.getHashes().includes('sha256')); | ||
| 139 | 139 | assert(!crypto.getHashes().includes('SHA1')); | |
| 140 | - assert(!crypto.getHashes().includes('SHA')); | ||
| 140 | + assert(!crypto.getHashes().includes('SHA256')); | ||
| 141 | 141 | assert(crypto.getHashes().includes('RSA-SHA1')); | |
| 142 | 142 | assert(!crypto.getHashes().includes('rsa-sha1')); | |
| 143 | 143 | validateList(crypto.getHashes()); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments