Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/core/StarCurve25519.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarCurve25519.cpp b/source/core/StarCurve25519.cpp
index f8f5451..3fdddea 100644
--- a/source/core/StarCurve25519.cpp
+++ b/source/core/StarCurve25519.cpp
@@ -19,7 +19,7 @@ struct KeySet {
secret[31] &= 127;
secret[31] |= 64;
- ed25519_CreateKeyPair(privateKey.data(), publicKey.data(), nullptr, secret.data());
+ ed25519_CreateKeyPair(publicKey.data(), privateKey.data(), nullptr, secret.data());
Logger::info("Generated Curve25519 key-pair");
}