Skip to content

Commit 07532fb

Browse files
authoredJun 2, 2022
chore: Use non-legacy hash in test (#113)
Especially since openssl 3 is out. `openssl list -digest-algorithms` to get a recent list of non
1 parent e3a2928 commit 07532fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/content/read.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ t.test('read.stream: returns a stream with cache content data', function (t) {
7474

7575
t.test('read: allows hashAlgorithm configuration', function (t) {
7676
const CONTENT = Buffer.from('foobarbaz')
77-
const HASH = 'whirlpool'
77+
const HASH = 'sha384'
7878
const INTEGRITY = ssri.fromData(CONTENT, { algorithms: [HASH] })
7979
const CACHE = t.testdir(
8080
CacheContent({

0 commit comments

Comments
 (0)
Please sign in to comment.