crypto: proper fix for d7e700's cause
Remove useless tests, and `ERR_peek_error()` calls. Things are being set in a proper order now and there is no need for hacky extra checks. The right order was: 1. Set certificate 2. Set key Because setting certificate doesn't properly handle key mismatch errors. Fix: node-forward/node#67 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/node-forward/node/pull/68
parent
ce56dccb
Please register or sign in to comment