diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-08-19 17:18:09 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-08-19 17:32:06 +0100 |
commit | b3180551851d6f736a98eb059d5b46b0872666e2 (patch) | |
tree | eab45e085474fe190d9a87d16ed284a407d96925 /include/olm/ratchet.hh | |
parent | a378a40b3a139b789b00d778c1091a0818c4a8ad (diff) |
Replace hard coded references to the 32-byte key length with a constant, add utilities for copying data to and from fixed sized arrays
Diffstat (limited to 'include/olm/ratchet.hh')
-rw-r--r-- | include/olm/ratchet.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/olm/ratchet.hh b/include/olm/ratchet.hh index 7274255..2393e5b 100644 --- a/include/olm/ratchet.hh +++ b/include/olm/ratchet.hh @@ -21,7 +21,7 @@ namespace olm { class Cipher; -typedef std::uint8_t SharedKey[32]; +typedef std::uint8_t SharedKey[olm::KEY_LENGTH]; struct ChainKey { |