| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bab9c4d commit 3beac87
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,3 @@ | |||
| 1 | - // Flags: --expose-internals --no-warnings | ||
| 2 | 1 | 'use strict'; | |
| 3 | 2 | const common = require('../common'); | |
| 4 | 3 | if (!common.hasCrypto) | |
@@ -7,8 +6,7 @@ if (!common.hasCrypto) | |||
| 7 | 6 | const assert = require('assert'); | |
| 8 | 7 | const crypto = require('crypto'); | |
| 9 | 8 | ||
| 10 | - const { internalBinding } = require('internal/test/binding'); | ||
| 11 | - if (typeof internalBinding('crypto').ScryptJob !== 'function') | ||
| 9 | + if (typeof crypto.scrypt !== 'function' || typeof crypto.scryptSync !== 'function') | ||
| 12 | 10 | common.skip('no scrypt support'); | |
| 13 | 11 | ||
| 14 | 12 | const good = [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments