« Previous | Next » 

Revision c6e2db2f

IDc6e2db2f14d98c6421401dea70f57333898ce782
Parent f054fec5
Child 95862b23

Added by Ben Noordhuis over 11 years ago

crypto: clear error stack

Clear OpenSSL's error stack on return from Connection::HandleSSLError().
This stops stale errors from popping up later in the lifecycle of the
SSL connection where they would cause spurious failures.

This commit causes a 1-2% performance regression on `make bench-tls`.
We'll address that in follow-up commits if possible but let's ensure
correctness first.

Fixes #4771.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences