Ensure compatibility with OpenSSL 1.1.0.