aboutsummaryrefslogtreecommitdiff
path: root/src/ratchet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ratchet.cpp')
-rw-r--r--src/ratchet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ratchet.cpp b/src/ratchet.cpp
index 2f361fa..b9108db 100644
--- a/src/ratchet.cpp
+++ b/src/ratchet.cpp
@@ -419,7 +419,7 @@ std::size_t olm::Ratchet::encrypt(
if (sender_chain.empty()) {
sender_chain.insert();
- olm::generate_key(random, sender_chain[0].ratchet_key);
+ olm::curve25519_generate_key(random, sender_chain[0].ratchet_key);
create_chain_key(
root_key,
sender_chain[0].ratchet_key,