diff options
-rw-r--r-- | lib/crypto.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto.js b/lib/crypto.js index bff21f6dd6..6d7330134b 100644 --- a/lib/crypto.js +++ b/lib/crypto.js @@ -35,7 +35,8 @@ const { ERR_CRYPTO_FIPS_UNAVAILABLE } = require('internal/errors').codes; const constants = process.binding('constants').crypto; -const { pendingDeprecation } = process.binding('config'); +const { getOptions } = internalBinding('options'); +const pendingDeprecation = getOptions('--pending-deprecation'); const { fipsMode, fipsForced |