Skip to content

Commit ba66130

Browse files
committed
Some fixes for building
1 parent 0f1a48d commit ba66130

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
System.Security.Cryptography.HMACRIPEMD160.exe: hmacripemd160.cpp
2+
cl /FeSystem.Security.Cryptography.HMACRIPEMD160.exe /clr:pure hmacripemd160.cpp
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
System.Security.Cryptography.HMACSHA256.exe: hmacsha256.cpp
2+
cl /FeSystem.Security.Cryptography.HMACSHA256.exe /clr:pure hmacsha256.cpp
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
System.Security.Cryptography.HMACSHA384.exe: hmacsha384.cpp
2+
cl /FeSystem.Security.Cryptography.HMACSHA384.exe /clr:pure hmacsha384.cpp
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
System.Security.Cryptography.HMACSHA512.exe: hmacsha512.cpp
2+
cl /FeSystem.Security.Cryptography.HMACSHA512.exe /clr:pure hmacsha512.cpp

snippets/csharp/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static byte[] CreateRandomSalt(int length)
8282
using (RandomNumberGenerator rng = RandomNumberGenerator.Create())
8383
{
8484
// Fill the buffer with random bytes.
85-
rand.GetBytes(randBytes);
85+
rng.GetBytes(randBytes);
8686
}
8787

8888
// return the bytes.

0 commit comments

Comments
 (0)