Skip to content

Commit

Permalink
Fix missing new line causing invalid SSLKEYLOGFILE output (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
haga-rak authored Dec 23, 2024
1 parent 3e6a8af commit e97925e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fluxzy.Core/Clients/Ssl/BouncyCastle/NssLogWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void Dispose()

public void Write(string key, byte[] clientRandom, byte[] secret)
{
var stringKey = $"{key} {Hex.ToHexString(clientRandom)} {Hex.ToHexString(secret)}";
var stringKey = $"{key} {Hex.ToHexString(clientRandom)} {Hex.ToHexString(secret)}\n";

KeyHandler?.Invoke(stringKey);

Expand Down

0 comments on commit e97925e

Please sign in to comment.