Skip to content

Commit

Permalink
Merge pull request #242 from anhu/writer_close
Browse files Browse the repository at this point in the history
Call Close() because Windows won't flush unless its called.
  • Loading branch information
dgarske authored Sep 8, 2022
2 parents 9cbf348 + ab09e83 commit 4160bde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrapper/CSharp/wolfTPM-tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ private static void DumpByteArray(string filename, byte[] bytes)
{
var writer = new BinaryWriter(File.OpenWrite(filename));
writer.Write(bytes);
writer.Close();
}

private void GetSRK(Key srkKey, string auth)
Expand Down

0 comments on commit 4160bde

Please sign in to comment.