diff --git a/lib/tls.js b/lib/tls.js index f4b72851907862..ddc84aab8bb03d 100644 --- a/lib/tls.js +++ b/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);