aboutsummaryrefslogtreecommitdiff
path: root/src/session.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/session.cpp
parentf1cd5613f68beee08ab479edf2a5ae50c91a63fe (diff)
Rename generate_key to curve25519_generate_key
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cpp b/src/session.cpp
index a028431..08498e4 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -68,10 +68,10 @@ std::size_t olm::Session::new_outbound_session(
}
Curve25519KeyPair base_key;
- olm::generate_key(random, base_key);
+ olm::curve25519_generate_key(random, base_key);
Curve25519KeyPair ratchet_key;
- olm::generate_key(random + 32, ratchet_key);
+ olm::curve25519_generate_key(random + 32, ratchet_key);
received_message = false;
alice_identity_key.id = local_account.identity_key.id;