Fix a bug that was causing an error on RSA key generation.