Commit 7c52e1c1 authored by Shigeki Ohtsu's avatar Shigeki Ohtsu Committed by Fedor Indutny
Browse files

tls_wrap: fix error cb when fatal TLS Alert recvd

SSL_read() returns 0 when fatal TLS Alert is received.
Fix to invoke ssl error callback in this case.

PR-URL: https://github.com/nodejs/io.js/pull/1661


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent e008e8fa
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment