aboutsummaryrefslogtreecommitdiff
path: root/include/olm/ratchet.hh
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-16 12:08:45 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-23 18:55:05 +0100
commitf9139dfa6aea6ca8c4054a5b5fff9be484d978fa (patch)
tree940d7711e9c17f860c808ec809b86209a1cdef0e /include/olm/ratchet.hh
parente533b0dc8ef606aa808b38d2f49d9baf438dae47 (diff)
Convert error.hh to plain C
Diffstat (limited to 'include/olm/ratchet.hh')
-rw-r--r--include/olm/ratchet.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/olm/ratchet.hh b/include/olm/ratchet.hh
index 071e349..b2787c7 100644
--- a/include/olm/ratchet.hh
+++ b/include/olm/ratchet.hh
@@ -15,7 +15,7 @@
#include "olm/crypto.hh"
#include "olm/list.hh"
-#include "olm/error.hh"
+#include "olm/error.h"
namespace olm {
@@ -79,7 +79,7 @@ struct Ratchet {
Cipher const & ratchet_cipher;
/** The last error that happened encrypting or decrypting a message. */
- ErrorCode last_error;
+ OlmErrorCode last_error;
/**
* A count of the number of times the root key has been advanced; this is