diff --git a/lib/tls.js b/lib/tls.js index f13c5c1c860..6f0f21e7620 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -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);