diff --git a/lib/oauth.js b/lib/oauth.js index 991ca1b..f6d64a1 100644 --- a/lib/oauth.js +++ b/lib/oauth.js @@ -193,8 +193,8 @@ exports.OAuth.prototype._getNonce= function(nonceSize) { return result.join(''); } -exports.OAuth.prototype._createClient= function( port, hostname, sshEnabled, credentials ) { - return http.createClient(port, hostname, sshEnabled, credentials); +exports.OAuth.prototype._createClient= function( port, hostname, sslEnabled, credentials ) { + return http.createClient(port, hostname, sslEnabled, credentials); } exports.OAuth.prototype._prepareParameters= function( oauth_token, oauth_token_secret, method, url, extra_params ) {