aboutsummaryrefslogtreecommitdiff
path: root/src/account.cpp
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-06-23 17:49:04 +0100
committerMark Haines <mark.haines@matrix.org>2015-06-23 17:49:04 +0100
commitf10c04d62d15cc42af4683c2020cf5dffe895bd2 (patch)
tree5086e8b6d8f431f44850adcc7c1083e35a1ba18a /src/account.cpp
parent8bf32c3248fdf0105e9c8d1a3ad2d11e1747f165 (diff)
reduce the number of one time keys that get generated when we create an account
Diffstat (limited to 'src/account.cpp')
-rw-r--r--src/account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.cpp b/src/account.cpp
index 3124312..cafa014 100644
--- a/src/account.cpp
+++ b/src/account.cpp
@@ -62,7 +62,7 @@ std::size_t axolotl::Account::new_account(
axolotl::generate_key(random, last_resort_one_time_key.key);
random += 32;
- for (unsigned i = 0; i < 100; ++i) {
+ for (unsigned i = 0; i < 10; ++i) {
LocalKey & key = *one_time_keys.insert(one_time_keys.end());
key.id = ++id;
axolotl::generate_key(random, key.key);