openssl: revert EOF detection change in 1.1.1