Commit 4d37472e authored by Fedor Indutny's avatar Fedor Indutny Committed by Myles Borins
Browse files

tls_wrap: clear errors on return

Adopt `MarkPopErrorOnReturn` from `node_crypto.cc`, and use it to
clear errors after `SSL_read`/`SSL_write`/`SSL_shutdown` functions.

See: https://github.com/nodejs/node/issues/4485
PR-URL: https://github.com/nodejs/node/pull/4515


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>

v4.x-staging Commit Metadata:
PR-URL: https://github.com/nodejs/node/pull/4709


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 5f4aa794
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