OpenSSL: use nondeprecated hash functions under 3.0.0.