Skip to content

Commit 0b39d90

Browse files
committed
Update Verify.cs
1 parent a5fb3bd commit 0b39d90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/CustomBuildTool/Verify.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ private static byte[] Sign(byte[] KeyMaterial, string FileName)
308308
{
309309
byte[] buffer;
310310

311-
using (FileStream fileStream = File.OpenRead(FileName))
311+
var fileStream = File.ReadAllBytes(FileName);
312+
313+
//using (FileStream fileStream = File.OpenRead(FileName))
312314
using (CngKey cngkey = CngKey.Import(KeyMaterial, CngKeyBlobFormat.GenericPrivateBlob))
313315
{
314316
if (cngkey.Algorithm == CngAlgorithm.ECDsaP256)

0 commit comments

Comments
 (0)