diff options
Diffstat (limited to 'lib/_tls_wrap.js')
-rw-r--r-- | lib/_tls_wrap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js index db6f6b5e76..9c3fe656a7 100644 --- a/lib/_tls_wrap.js +++ b/lib/_tls_wrap.js @@ -149,8 +149,8 @@ function loadSession(hello) { if (hello.sessionId.length <= 0 || hello.tlsTicket || - owner.server && - !owner.server.emit('resumeSession', hello.sessionId, onSession)) { + (owner.server && + !owner.server.emit('resumeSession', hello.sessionId, onSession))) { // Sessions without identifiers can't be resumed. // Sessions with tickets can be resumed directly from the ticket, no server // session storage is necessary. |