Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: don't use deprecated crypto.fips property
`crypto.fips` was deprecated in commit 6e7992e ("crypto: docs-only
deprecate crypto.fips, replace") but its usage in `common.hasFipsCrypto`
seems to have been overlooked.
  • Loading branch information
bnoordhuis committed Jul 2, 2019
commit f22cb18d59cef96eae6deb92dbc578aa021564e5
2 changes: 1 addition & 1 deletion test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ module.exports = {
get localhostIPv6() { return '::1'; },

get hasFipsCrypto() {
return hasCrypto && require('crypto').fips;
return hasCrypto && require('crypto').getFips();
},

get inFreeBSDJail() {
Expand Down