Changeset 1745 for branches/eraser6/CodeReview/Eraser.Util/Security.cs
- Timestamp:
- 2/3/2010 3:37:13 AM (2 years ago)
- Location:
- branches/eraser6/CodeReview
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Eraser.Util/Security.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview
- Property svn:mergeinfo changed
/branches/eraser6/6.0 merged: 1721,1723,1730,1732,1734-1735,1737-1738,1740,1742 /trunk/eraser6 merged: 1706-1743
- Property svn:mergeinfo changed
-
branches/eraser6/CodeReview/Eraser.Util/Security.cs
r1687 r1745 117 117 118 118 handle = new SafeCryptHandle(); 119 if (NativeMethods.CryptAcquireContext(out handle, string.Empty,119 if (NativeMethods.CryptAcquireContext(out handle, null, 120 120 IntelDefaultProvider, NativeMethods.PROV_INTEL_SEC, 0)) 121 121 { 122 122 return; 123 123 } 124 else if (NativeMethods.CryptAcquireContext(out handle, string.Empty,125 string.Empty, NativeMethods.PROV_RSA_FULL, 0))124 else if (NativeMethods.CryptAcquireContext(out handle, null, 125 null, NativeMethods.PROV_RSA_FULL, 0)) 126 126 { 127 127 return; … … 130 130 { 131 131 //Default keyset doesn't exist, attempt to create a new one 132 if (NativeMethods.CryptAcquireContext(out handle, string.Empty, string.Empty,132 if (NativeMethods.CryptAcquireContext(out handle, null, null, 133 133 NativeMethods.PROV_RSA_FULL, NativeMethods.CRYPT_NEWKEYSET)) 134 134 {
Note: See TracChangeset
for help on using the changeset viewer.
