Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Fix whitespace inconsistencies #trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
ma11hew28 committed Oct 31, 2019
1 parent 71954c5 commit 14df2ff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/session_cipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ int session_cipher_encrypt(session_cipher *cipher,
uint32_t pre_key_id = 0;
uint32_t signed_pre_key_id;
ec_public_key *base_key;

if(session_state_unacknowledged_pre_key_message_has_pre_key_id(state)) {
has_pre_key_id = 1;
pre_key_id = session_state_unacknowledged_pre_key_message_get_pre_key_id(state);
Expand Down Expand Up @@ -347,8 +347,7 @@ int session_cipher_decrypt_signal_message(session_cipher *cipher,
goto complete;
}

result = signal_protocol_session_load_session(cipher->store, &record,
cipher->remote_address);
result = signal_protocol_session_load_session(cipher->store, &record, cipher->remote_address);
if(result < 0) {
goto complete;
}
Expand All @@ -364,8 +363,7 @@ int session_cipher_decrypt_signal_message(session_cipher *cipher,
goto complete;
}

result = signal_protocol_session_store_session(cipher->store,
cipher->remote_address, record);
result = signal_protocol_session_store_session(cipher->store, cipher->remote_address, record);

complete:
SIGNAL_UNREF(record);
Expand Down

0 comments on commit 14df2ff

Please sign in to comment.