Skip to content

Commit

Permalink
Use FlushAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
mattosaurus committed May 30, 2024
1 parent 2f0f84a commit e04bfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PgpCore/PGP.VerifyAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public async Task<bool> VerifyAsync(Stream inputStream, Stream outputStream = nu
else
throw new PgpException("Message is not a encrypted and signed file or simple signed file.");

outputStream.Flush();
await outputStream.FlushAsync();
outputStream.Seek(0, SeekOrigin.Begin);

return (verified);
Expand Down

0 comments on commit e04bfa8

Please sign in to comment.