1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #7793: Duplicate private keys generated (#7794)

This commit is contained in:
Michał Janiszewski
2018-07-18 22:11:34 +01:00
committed by GitHub
parent 3d85ec4ea1
commit 10f6059f09
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
- Fix: [#7765] Crash when opening ride list window on Windows Vista.
- Fix: [#7773] Once research has been completed, player is still charged for research.
- Fix: [#7786] Crash when importing a track design.
- Fix: [#7793] Duplicate private keys generated.
0.2.0 (2018-06-10)
------------------------------------------------------------------------

View File

@@ -129,7 +129,7 @@ bool NetworkKey::SavePublic(IStream * stream)
{
throw std::runtime_error("No key loaded");
}
auto pem = _key->GetPrivate();
auto pem = _key->GetPublic();
stream->Write(pem.data(), pem.size());
return true;
}