rsa/rsa_gen.c: ensure backward compatibility with external rsa->meth.