Commit 77bffc2cd60277b95e004d7c22814d7f0e5a5838

Carlos Martín Nieto 2015-05-09T13:21:39

openssl: don't try to handle WANT_READ or WANT_WRITE We use a blocking socket and set the mode to AUTO_RETRY which means that `SSL_write` and `SSL_read` will only return once the read or write has been completed. We therefore don't need to handle partial writes or re-try read due to a regenotiation. While here, consider that a zero also indicates an error condition.