diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/axolotl/error.hh | 2 | ||||
-rw-r--r-- | include/axolotl/session.hh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/axolotl/error.hh b/include/axolotl/error.hh index 3bf0e63..b875784 100644 --- a/include/axolotl/error.hh +++ b/include/axolotl/error.hh @@ -11,6 +11,8 @@ enum struct ErrorCode { BAD_MESSAGE_FORMAT = 4, /*!< The message couldn't be decoded */ BAD_MESSAGE_MAC = 5, /*!< The message couldn't be decrypted */ BAD_MESSAGE_KEY_ID = 6, /*!< The message references an unknown key id */ + INVALID_BASE64 = 7, /*!< The input base64 was invalid */ + BAD_ACCOUNT_KEY = 8, /*!< The supplied account key is invalid */ }; } // namespace axolotl diff --git a/include/axolotl/session.hh b/include/axolotl/session.hh index 93c0b64..aeaac7d 100644 --- a/include/axolotl/session.hh +++ b/include/axolotl/session.hh @@ -14,7 +14,7 @@ struct RemoteKey { enum struct MessageType { - PRE_KEY_MESSAGE = 0, + PRE_KEY = 0, MESSAGE = 1, }; |