Skip to content

Commit 0f70017

Browse files
klacabanetargos
authored andcommitted
tls: name anonymous function in tls.js
Refs: #8913 PR-URL: #21754 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Jon Moss <[email protected]>
1 parent a592871 commit 0f70017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tls.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ exports.convertNPNProtocols = internalUtil.deprecate(function(protocols, out) {
8585
}
8686
}, 'tls.convertNPNProtocols() is deprecated.', 'DEP0107');
8787

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

0 commit comments

Comments
 (0)