From cf7bc3043f81451201ada99ad067c11d0a4383f9 Mon Sep 17 00:00:00 2001 From: Mark Sturgill Date: Sat, 2 Nov 2013 12:29:43 -0700 Subject: [PATCH] use CSPRandom with MONO add MONO comments to RunUO.exe.config --- RunUO.exe.config | 4 ++++ Server/Random.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RunUO.exe.config b/RunUO.exe.config index be2a2140c..5106eb6a4 100644 --- a/RunUO.exe.config +++ b/RunUO.exe.config @@ -3,4 +3,8 @@ + + \ No newline at end of file diff --git a/Server/Random.cs b/Server/Random.cs index d68b31f81..78d830f05 100644 --- a/Server/Random.cs +++ b/Server/Random.cs @@ -22,7 +22,7 @@ namespace Server { static RandomImpl() { if ( Core.Unix ) { - _Random = new SimpleRandom(); + _Random = new CSPRandom(); } else if (Core.Is64Bit && File.Exists("rdrand64.dll")) { _Random = new RDRand64(); } else if ( !Core.Is64Bit && File.Exists("rdrand32.dll") ) {