If the protocol version is SSL 3.0 or TLS 1.0, this result code is returned only if a closure alert has occurred in the protocol, i.e. if the connection has been closed cleanly. There is no fixed upper limit for the number of iterations that may be necessary until progress becomes visible at application protocol level. The SSL function should be called again when the connection is established.
Details depend on the application.
The OpenSSL error queue may contain more information on the error. A failure in the SSL library occurred, usually a protocol error. The OpenSSL error queue contains more information on the error.