summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/group_cipher.c
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-22 23:37:33 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-04-23 00:19:38 +0300
commit5048672e81f3ee9aa864ef9d736a3d74da051754 (patch)
tree8148405d428027ceab0528cf186a9faf3817b196 /libs/libaxolotl/src/group_cipher.c
parentdf4c8656be0e85a69a238f3fc3f4d53568c53828 (diff)
libs: libsignal-c: sync with upstream
Diffstat (limited to 'libs/libaxolotl/src/group_cipher.c')
-rw-r--r--libs/libaxolotl/src/group_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libaxolotl/src/group_cipher.c b/libs/libaxolotl/src/group_cipher.c
index 1b6f8af2c9..05ea320d98 100644
--- a/libs/libaxolotl/src/group_cipher.c
+++ b/libs/libaxolotl/src/group_cipher.c
@@ -98,7 +98,7 @@ int group_cipher_encrypt(group_cipher *cipher,
signing_key_private = sender_key_state_get_signing_key_private(state);
if(!signing_key_private) {
- result = SG_ERR_NO_SESSION;
+ result = SG_ERR_INVALID_KEY;
goto complete;
}