use CSPRandom with MONO

add MONO comments to RunUO.exe.config
This commit is contained in:
Mark Sturgill 2013-11-02 12:29:43 -07:00
parent 1d2ca9ad58
commit cf7bc3043f
2 changed files with 5 additions and 1 deletions

View file

@ -3,4 +3,8 @@
<runtime>
<gcServer enabled="true" />
</runtime>
<!--
MONO/Linux users will need to uncomment and modify the following line:
-->
<!--<dllmap dll="libz" target="/lib/x86_64-linux-gnu/libz.so.1" />-->
</configuration>

View file

@ -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") ) {