diff options
author | James M Snell <jasnell@gmail.com> | 2018-05-14 18:15:30 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-05-17 09:53:44 -0700 |
commit | 4d00cd4ce7388893405a833531b56542f206c9e4 (patch) | |
tree | 1e84cc1d01ba1bf7a45206d8917f82f86fd2e3ef /test | |
parent | 8d38288a8099fa282f4e86657f4f7d696039cf96 (diff) | |
download | android-node-v8-4d00cd4ce7388893405a833531b56542f206c9e4.tar.gz android-node-v8-4d00cd4ce7388893405a833531b56542f206c9e4.tar.bz2 android-node-v8-4d00cd4ce7388893405a833531b56542f206c9e4.zip |
tls: move convertNPNProtocols to End-of-Life
This was deprecated in 10.0.0 because NPN support was removed.
It does not make sense to keep this around longer than 10.x
PR-URL: https://github.com/nodejs/node/pull/20736
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-tls-basic-validations.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/parallel/test-tls-basic-validations.js b/test/parallel/test-tls-basic-validations.js index 3840acc024..f2cf82b859 100644 --- a/test/parallel/test-tls-basic-validations.js +++ b/test/parallel/test-tls-basic-validations.js @@ -94,24 +94,8 @@ common.expectsError( } { - const buffer = Buffer.from('abcd'); - const out = {}; - tls.convertNPNProtocols(buffer, out); - out.NPNProtocols.write('efgh'); - assert(buffer.equals(Buffer.from('abcd'))); - assert(out.NPNProtocols.equals(Buffer.from('efgh'))); -} - -{ const buffer = new Uint8Array(Buffer.from('abcd')); const out = {}; tls.convertALPNProtocols(buffer, out); assert(out.ALPNProtocols.equals(Buffer.from('abcd'))); } - -{ - const buffer = new Uint8Array(Buffer.from('abcd')); - const out = {}; - tls.convertNPNProtocols(buffer, out); - assert(out.NPNProtocols.equals(Buffer.from('abcd'))); -} |