summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/group_cipher.c
diff options
context:
space:
mode:
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;
}