RSA keygen minor fix