openssl: RSA fixes for openssl-1.1.