Skip to content

Commit

Permalink
Add conditional return in Common.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelvds committed Jan 29, 2024
1 parent 0bb99c2 commit 69e6e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fiskaltrust.Launcher/Commands/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ public static async Task<ECDiffieHellman> LoadCurve(Guid cashboxId, string acces
var newClientEcdh = CashboxConfigEncryption.CreateCurve();
if (!dryRun) await File.WriteAllTextAsync(clientEcdhPath, dataProtector.Protect(newClientEcdh.Serialize()));

return clientEcdh;
return clientEcdh;
}
}
}
}

0 comments on commit 69e6e9f

Please sign in to comment.