crypto: refer to correct deprecation id in comment
PR-URL: https://github.com/nodejs/node/pull/21399 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Родитель
fb2592ff12
Коммит
e7776c63da
|
@ -209,7 +209,7 @@ function getFipsForced() {
|
|||
}
|
||||
|
||||
Object.defineProperties(exports, {
|
||||
// crypto.fips is deprecated. DEP00XX. Use crypto.getFips()/crypto.setFips()
|
||||
// crypto.fips is deprecated. DEP0093. Use crypto.getFips()/crypto.setFips()
|
||||
fips: {
|
||||
get: !fipsMode ? getFipsDisabled :
|
||||
fipsForced ? getFipsForced : getFipsCrypto,
|
||||
|
|
Загрузка…
Ссылка в новой задаче