Program works with older libssl, but not with newer

Matt Caswell matt at openssl.org
Tue Mar 31 14:31:20 UTC 2020



On 31/03/2020 15:21, Salz, Rich via openssl-users wrote:
> Isn't this the SSL EOF thing?

No. In older OpenSSL's SSL_read() would return SSL_ERROR_SYSCALL on EOF
with an errno of 0. This was "fixed" in 1.1.1e to return SSL_ERROR_SSL
with an entry on the error stack. And unfixed in 1.1.1f to revert to the
old behaviour (but 3.0 still does this).

So - if it was due to "the SSL EOF thing" then you would be seeing
SSL_ERROR_SSL.

Matt



More information about the openssl-users mailing list