Changeset 1553


Ignore:
Timestamp:
1/18/2010 5:34:41 AM (5 years ago)
Author:
lowjoel
Message:

Compilo fixes after r1552.

Location:
branches/eraser6/CodeReview
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser.Manager/EntropySource.cs

    r1552 r1553  
    450450            //Finally, our good friend CryptGenRandom() 
    451451            byte[] cryptGenRandom = new byte[1536]; 
    452             if (CryptApi.CryptGenRandom(cryptGenRandom)) 
     452            if (Security.Randomise(cryptGenRandom)) 
    453453                result.AddRange(cryptGenRandom); 
    454454 
  • branches/eraser6/CodeReview/Eraser.Manager/Plugins.cs

    r1552 r1553  
    298298 
    299299            //Verify the certificate in the assembly. 
    300             if (WintrustApi.VerifyAuthenticode(assembly.Location)) 
     300            if (Security.VerifyAuthenticode(assembly.Location)) 
    301301            { 
    302302                X509Certificate2 cert = new X509Certificate2( 
  • branches/eraser6/CodeReview/Eraser.Manager/Settings.cs

    r1528 r1553  
    354354 
    355355                if (pluginKey.Length != ourKey.Length || 
    356                     !MsCorEEApi.VerifyStrongName(plugin.Assembly.Location)) 
     356                    !Security.VerifyStrongName(plugin.Assembly.Location)) 
    357357                    continue; 
    358358                bool officialPlugin = true; 
Note: See TracChangeset for help on using the changeset viewer.