diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-03-03 15:08:26 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-03-03 15:08:26 +0000 |
commit | 2f2e0340ae46fb37421e13108fae71e710b5515b (patch) | |
tree | 2d907e282a84c4c67484831654f5a895f817d3b4 /src | |
parent | a0e9065f1f47d41c6f2bd692b5027695db79de25 (diff) |
const on right hand side
Diffstat (limited to 'src')
-rw-r--r-- | src/ratchet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ratchet.cpp b/src/ratchet.cpp index 72c6e82..d2903bb 100644 --- a/src/ratchet.cpp +++ b/src/ratchet.cpp @@ -274,7 +274,7 @@ std::size_t axolotl::Session::encrypt( std::size_t padded = axolotl::aes_encrypt_cbc_length(plaintext_length); std::uint32_t counter = keys.index; - const Curve25519PublicKey &ratchet_key = sender_chain[0].ratchet_key; + Curve25519PublicKey const & ratchet_key = sender_chain[0].ratchet_key; axolotl::MessageWriter writer(axolotl::encode_message( PROTOCOL_VERSION, counter, KEY_LENGTH, padded, output |