From 373acefde7be92f86b8294b325519ad916b1e054 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 9 Jul 2015 18:35:54 +0100 Subject: Add c bindings for the methods for managing one time keys --- src/account.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/account.cpp') diff --git a/src/account.cpp b/src/account.cpp index ede327b..6a76583 100644 --- a/src/account.cpp +++ b/src/account.cpp @@ -48,7 +48,7 @@ std::size_t olm::Account::remove_key( } std::size_t olm::Account::new_account_random_length() { - return 12 * 32; + return 2 * 32; } std::size_t olm::Account::new_account( @@ -64,8 +64,6 @@ std::size_t olm::Account::new_account( olm::curve25519_generate_key(random, identity_keys.curve25519_key); random += 32; - generate_one_time_keys(10, random, random_length - 64); - return 0; } -- cgit v1.2.3