aboutsummaryrefslogtreecommitdiffhomepage
path: root/tde2e
diff options
context:
space:
mode:
Diffstat (limited to 'tde2e')
-rw-r--r--tde2e/td/e2e/Call.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tde2e/td/e2e/Call.cpp b/tde2e/td/e2e/Call.cpp
index 11ff1591c..00e1c2911 100644
--- a/tde2e/td/e2e/Call.cpp
+++ b/tde2e/td/e2e/Call.cpp
@@ -723,10 +723,10 @@ td::Status Call::update_group_shared_key() {
TRY_RESULT_ASSIGN(group_shared_key_, decrypt_shared_key());
if (group_state->version() >= 1) {
- group_shared_key_ = td::SecureString(
- MessageEncryption::hmac_sha512(group_shared_key_, blockchain_.get_last_block_hash().as_slice())
- .as_slice()
- .substr(0, 32));
+ group_shared_key_ =
+ td::SecureString(MessageEncryption::hmac_sha512(group_shared_key_, blockchain_.get_last_block_hash().as_slice())
+ .as_slice()
+ .substr(0, 32));
}
return call_encryption_.add_shared_key(td::narrow_cast<td::int32>(blockchain_.get_height()),