OpenSSL: use nondeprecated RSA key functions under 3.0.0.