aboutsummaryrefslogtreecommitdiff
path: root/src/account.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/account.cpp')
-rw-r--r--src/account.cpp4
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;
}