Skip to content

Commit

Permalink
GDS client fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mregen committed Mar 13, 2024
1 parent 2f0ffba commit a718815
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ private async void CertificateRequestTimer_Tick(object sender, EventArgs e)
newCert = CertificateFactory.Load(newCert, true);
}

// bugbug: private key is not saved to store
await store.Add(newCert);
}
}
Expand Down
6 changes: 6 additions & 0 deletions Samples/GDS/Client/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ private enum Panel

private void Server_ConnectionStatusChanged(object sender, EventArgs e)
{
if (InvokeRequired)
{
BeginInvoke(new EventHandler(Server_ConnectionStatusChanged), sender, e);
return;
}

if (Object.ReferenceEquals(sender, m_server))
{
if (m_server.IsConnected)
Expand Down

0 comments on commit a718815

Please sign in to comment.