Commit 6f7a9784 authored by Fedor Indutny's avatar Fedor Indutny
Browse files

crypto: clear error on return in TLS methods

Methods like `X509_STORE_add_cert` may push errors onto OpenSSL's error
stack. Ensure that they won't pop up in a different places like
`tls_wrap.cc`.

Fix: https://github.com/iojs/io.js/issues/712
PR-URL: https://github.com/iojs/io.js/pull/719


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 50daee72
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