Fix build with OpenSSL 1.1 and later.