aboutsummaryrefslogtreecommitdiff
path: root/tests/test_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 /tests/test_ratchet.cpp
parentf1cd5613f68beee08ab479edf2a5ae50c91a63fe (diff)
Rename generate_key to curve25519_generate_key
Diffstat (limited to 'tests/test_ratchet.cpp')
-rw-r--r--tests/test_ratchet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ratchet.cpp b/tests/test_ratchet.cpp
index b2db8e7..cbb3c52 100644
--- a/tests/test_ratchet.cpp
+++ b/tests/test_ratchet.cpp
@@ -34,7 +34,7 @@ olm::CipherAesSha256 cipher(
std::uint8_t random_bytes[] = "0123456789ABDEF0123456789ABCDEF";
olm::Curve25519KeyPair alice_key;
-olm::generate_key(random_bytes, alice_key);
+olm::curve25519_generate_key(random_bytes, alice_key);
std::uint8_t shared_secret[] = "A secret";