mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tls: name anonymous function in tls.js
Refs: https://github.com/nodejs/node/issues/8913 PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
72624fdd53
commit
07c514ce29
@ -76,7 +76,7 @@ function convertProtocols(protocols) {
|
||||
return buff;
|
||||
}
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user