crypto: fix error in deprecation message by Trott · Pull Request #6344 · nodejs/node

@Trott added crypto

Issues and PRs related to the crypto subsystem.

test

Issues and PRs related to the tests.

labels

Apr 22, 2016

@Trott

The deprecation message for `crypto.Credentials` says to use
`tls.createSecureContext` but the correct property to use is
`tls.SecureContext()`.

Fix the deprecation message and add a test that checks the mappings of
deprecated properties and their warning messages.

Trott added a commit to Trott/io.js that referenced this pull request

Apr 28, 2016
The deprecation message for `crypto.Credentials` says to use
`tls.createSecureContext` but the correct property to use is
`tls.SecureContext()`.

Fix the deprecation message and add a test that checks the mappings of
deprecated properties and their warning messages.

PR-URL: nodejs#6344
Reviewed-By: James M Snell <jasnell@gmail.com>

Fishrock123 pushed a commit that referenced this pull request

May 4, 2016
The deprecation message for `crypto.Credentials` says to use
`tls.createSecureContext` but the correct property to use is
`tls.SecureContext()`.

Fix the deprecation message and add a test that checks the mappings of
deprecated properties and their warning messages.

PR-URL: #6344
Reviewed-By: James M Snell <jasnell@gmail.com>

This was referenced

May 4, 2016

@Trott Trott deleted the deprecrypto branch

January 13, 2022 22:43