diff --git a/CASA/CASA.changes b/CASA/CASA.changes index 93cd8209..fdc5f096 100644 --- a/CASA/CASA.changes +++ b/CASA/CASA.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 18 08:49:01 MST 2009 - jnorman@novell.com + +- Bug 458146. Add call to initialize Mono Crypto library during startup + ------------------------------------------------------------------- Wed Oct 15 14:51:32 MDT 2008 - jnorman@novell.com diff --git a/CASA/micasad/init/Main.cs b/CASA/micasad/init/Main.cs index 1db1ebd5..c0677534 100644 --- a/CASA/micasad/init/Main.cs +++ b/CASA/micasad/init/Main.cs @@ -25,6 +25,7 @@ using System.IO; using System.Text; using System.Threading; using System.Diagnostics; +using System.Security.Cryptography; using sscs.communication; using sscs.constants; using sscs.common; @@ -48,6 +49,10 @@ class SecretStoreClientService Mono.Unix.Native.Syscall.exit(-1); } + // init mono + byte[] initstring = {1,2,3}; //bug 458146 + ProtectedData.Protect(initstring, null, DataProtectionScope.CurrentUser); + RegisterSignals(); Mono.Unix.Native.Syscall.umask( Mono.Unix.Native.FilePermissions.S_IRGRP | Mono.Unix.Native.FilePermissions.S_IWGRP |