★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/0f70017f35Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

tls: name anonymous function in tls.js

Refs: #8913

PR-URL: #21754
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
  • Loading branch information...
klacabane authored and targos committed Jul 11, 2018
1 parent a592871 commit 0f70017f3554e36f2296a4949e4a7cde13b7741a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tls.js
@@ -85,7 +85,7 @@ exports.convertNPNProtocols = internalUtil.deprecate(function(protocols, out) {
}
}, 'tls.convertNPNProtocols() is deprecated.', 'DEP0107');

exports.convertALPNProtocols = function(protocols, out) {
exports.convertALPNProtocols = function convertALPNProtocols(protocols, out) {
// If protocols is Array - translate it into buffer
if (Array.isArray(protocols)) {
out.ALPNProtocols = convertProtocols(protocols);

0 comments on commit 0f70017

Please sign in to comment.
You can’t perform that action at this time.