OpenSSL: Fix OpenSSL 1.1.0 compatibility functions