aboutsummaryrefslogtreecommitdiff
path: root/src/ratchet.cpp
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-07-07 09:03:12 +0100
committerMark Haines <mark.haines@matrix.org>2015-07-07 09:03:12 +0100
commita30a64d17931c43ca20090220272ce9257064072 (patch)
tree8d7d387dd9e5d13535a6061a33bdcca455664c2c /src/ratchet.cpp
parentf1cd5613f68beee08ab479edf2a5ae50c91a63fe (diff)
Rename generate_key to curve25519_generate_key
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,