Moving around the check for crypto_rng setting, to keep it consistent with other checks.