diff options
author | Brian Turek <brian.turek@gmail.com> | 2017-05-13 09:15:50 +0100 |
---|---|---|
committer | Brian Turek <brian.turek@gmail.com> | 2017-05-13 09:15:50 +0100 |
commit | c7a7f1db1e40d05272620f1ebf9c0a0f18a38957 (patch) | |
tree | a4d4cc5b89b31a61dc0035912529694b8743ee13 | |
parent | eaaecca598dc0e16e329f64174deb9ca64136124 (diff) | |
download | jsSHA-c7a7f1db1e40d05272620f1ebf9c0a0f18a38957.zip jsSHA-c7a7f1db1e40d05272620f1ebf9c0a0f18a38957.tar.gz jsSHA-c7a7f1db1e40d05272620f1ebf9c0a0f18a38957.tar.bz2 |
Removing LICENSE self-test feature
-rw-r--r-- | test/hash-file.html | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/hash-file.html b/test/hash-file.html index 149fff5..02ec1ea 100644 --- a/test/hash-file.html +++ b/test/hash-file.html @@ -60,18 +60,6 @@ progress.innerHTML += '<p>SHA-256: ' + result256 + '</p>'; progress.innerHTML += '<p>SHA-384: ' + result384 + '</p>'; progress.innerHTML += '<p>SHA-512: ' + result512 + '</p>'; - - // Allow testing on project license file - if (file.name == 'LICENSE') { - progress.innerHTML += '' - - // Compare with sha384sum util - if (result384 == '74344f93eb1c1cb87f162632a5f8658290e69a997ed4dbe15bd3c56d94c22a4377f235a7a43626dbe9a0c1d8740f790d') { - progress.innerHTML += '<p>License hash comparison: <span class="correct">PASS</span>' - } else { - progress.innerHTML += '<p>License hash comparison: <span class="incorrect">FAIL</span>' - } - } } else { readFile(hasher1, hasher224, hasher256, hasher384, hasher512, file, start + chunkSize, stop + chunkSize) } |