Skip to content

Commit

Permalink
Provide default object for _tlsOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
adammw committed Mar 1, 2014
1 parent 3b88dc6 commit e8d9bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_tls_wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function TLSSocket(socket, options) {
if (socket)
this._connecting = socket._connecting;

this._tlsOptions = options;
this._tlsOptions = options || {};
this._secureEstablished = false;
this._securePending = false;
this._newSessionPending = false;
Expand Down

0 comments on commit e8d9bae

Please sign in to comment.