Skip to content

Commit 967e31f

Browse files
test: drop FIPS state restore at end of cipher/hash cache test
Each test runs in its own process so restoring the initial FIPS state is unnecessary.
1 parent 1c7d4f7 commit 967e31f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

test/parallel/test-crypto-ciphers-hashes-fips-cache.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,3 @@ assert.deepStrictEqual(
8080
hashesWithoutFips,
8181
'getHashes() should match pre-FIPS list after setFips(false)'
8282
);
83-
84-
// Restore the original FIPS state.
85-
if (initialFips)
86-
setFips(true);

0 commit comments

Comments
 (0)