diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-07-09 18:35:54 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-07-09 18:35:54 +0100 |
commit | 373acefde7be92f86b8294b325519ad916b1e054 (patch) | |
tree | 9d80437d0b059808eb3cd960d4517fdc59ab4731 /src/account.cpp | |
parent | 5634be05074168e33b77246bbc9b60bd683759d8 (diff) |
Add c bindings for the methods for managing one time keys
Diffstat (limited to 'src/account.cpp')
-rw-r--r-- | src/account.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |